Removed unused variables
authorSam Lantinga <slouken@libsdl.org>
Sun, 09 May 2010 15:24:05 -0700
changeset 4455 6cf71111cf68
parent 4454 be387681d876
child 4456 0a5dbe96c3be
Removed unused variables
src/video/SDL_renderer_gl.c
--- a/src/video/SDL_renderer_gl.c	Sun May 09 10:00:33 2010 -0700
+++ b/src/video/SDL_renderer_gl.c	Sun May 09 15:24:05 2010 -0700
@@ -752,7 +752,6 @@
 GL_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
 {
     GL_RenderData *renderdata = (GL_RenderData *) renderer->driverdata;
-    SDL_Window *window = renderer->window;
     GL_TextureData *data;
     GLint internalFormat;
     GLenum format, type;
@@ -938,7 +937,6 @@
 GL_GetTexturePalette(SDL_Renderer * renderer, SDL_Texture * texture,
                      SDL_Color * colors, int firstcolor, int ncolors)
 {
-    GL_RenderData *renderdata = (GL_RenderData *) renderer->driverdata;
     GL_TextureData *data = (GL_TextureData *) texture->driverdata;
     Uint8 *palette;