src/video/SDL_renderer_gl.c
changeset 4455 6cf71111cf68
parent 3707 d8308bc267bc
child 4905 9779093454d2
--- 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;