Mercurial > sdl-ios-xcode
diff src/video/SDL_renderer_gl.c @ 4455:6cf71111cf68
Removed unused variables
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 09 May 2010 15:24:05 -0700 |
parents | d8308bc267bc |
children | 9779093454d2 |
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;