# HG changeset patch # User Sam Lantinga # Date 1273443845 25200 # Node ID 6cf71111cf6888ff765783f8de93db224c41c02a # Parent be387681d87666f2b608c4d790883b70ac11e188 Removed unused variables diff -r be387681d876 -r 6cf71111cf68 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;