Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 9, 2010
1 parent d007e1b commit 3918a38
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/video/x11/SDL_x11render.c
Expand Up @@ -151,7 +151,6 @@ UpdateYUVTextureData(SDL_Texture * texture)
void
X11_AddRenderDriver(_THIS)
{
SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
SDL_RendererInfo *info = &X11_RenderDriver.info;
SDL_DisplayMode *mode = &SDL_CurrentDisplay->desktop_mode;
int i;
Expand All @@ -175,7 +174,6 @@ X11_CreateRenderer(SDL_Window * window, Uint32 flags)
SDL_DisplayData *displaydata = (SDL_DisplayData *) display->driverdata;
SDL_WindowData *windowdata = (SDL_WindowData *) window->driverdata;
SDL_Renderer *renderer;
SDL_RendererInfo *info;
X11_RenderData *data;
XGCValues gcv;
int i, n;
Expand Down Expand Up @@ -658,7 +656,7 @@ X11_RenderDrawLines(SDL_Renderer * renderer, const SDL_Point * points,
{
X11_RenderData *data = (X11_RenderData *) renderer->driverdata;
SDL_Window *window = renderer->window;
SDL_Rect clip, rect;
SDL_Rect clip;
unsigned long foreground;
XPoint *xpoints, *xpoint;
int i, xcount;
Expand Down Expand Up @@ -917,7 +915,6 @@ X11_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
XImage *image = texturedata->scaling_image;

if (!image) {
int depth;
void *pixels;
int pitch;

Expand Down

0 comments on commit 3918a38

Please sign in to comment.