changeset 4455:6cf71111cf68

Removed unused variables
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 May 2010 15:24:05 -0700
parents be387681d876
children 0a5dbe96c3be
files src/video/SDL_renderer_gl.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;