diff src/video/x11/SDL_x11render.c @ 4458:c9584df65367

Removed unused variables
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 May 2010 15:46:19 -0700
parents f7b03b6838cb
children 791b3256fb22 97dcf6f6213c
line wrap: on
line diff
--- a/src/video/x11/SDL_x11render.c	Sun May 09 15:33:10 2010 -0700
+++ b/src/video/x11/SDL_x11render.c	Sun May 09 15:46:19 2010 -0700
@@ -151,7 +151,6 @@
 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;
@@ -175,7 +174,6 @@
     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;
@@ -658,7 +656,7 @@
 {
     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;
@@ -917,7 +915,6 @@
         XImage *image = texturedata->scaling_image;
 
         if (!image) {
-            int depth;
             void *pixels;
             int pitch;