Removed unused variables
authorSam Lantinga <slouken@libsdl.org>
Sun, 09 May 2010 15:24:05 -0700
changeset 44556cf71111cf68
parent 4454 be387681d876
child 4456 0a5dbe96c3be
Removed unused variables
src/video/SDL_renderer_gl.c
     1.1 --- a/src/video/SDL_renderer_gl.c	Sun May 09 10:00:33 2010 -0700
     1.2 +++ b/src/video/SDL_renderer_gl.c	Sun May 09 15:24:05 2010 -0700
     1.3 @@ -752,7 +752,6 @@
     1.4  GL_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
     1.5  {
     1.6      GL_RenderData *renderdata = (GL_RenderData *) renderer->driverdata;
     1.7 -    SDL_Window *window = renderer->window;
     1.8      GL_TextureData *data;
     1.9      GLint internalFormat;
    1.10      GLenum format, type;
    1.11 @@ -938,7 +937,6 @@
    1.12  GL_GetTexturePalette(SDL_Renderer * renderer, SDL_Texture * texture,
    1.13                       SDL_Color * colors, int firstcolor, int ncolors)
    1.14  {
    1.15 -    GL_RenderData *renderdata = (GL_RenderData *) renderer->driverdata;
    1.16      GL_TextureData *data = (GL_TextureData *) texture->driverdata;
    1.17      Uint8 *palette;
    1.18