Removed unused variable
authorSam Lantinga <slouken@libsdl.org>
Wed, 31 Dec 2008 08:05:21 +0000
changeset 2937017d4334accf
parent 2936 066384910f50
child 2938 2929ed239d2a
Removed unused variable
src/video/SDL_renderer_gl.c
src/video/SDL_renderer_gles.c
     1.1 --- a/src/video/SDL_renderer_gl.c	Wed Dec 31 07:56:56 2008 +0000
     1.2 +++ b/src/video/SDL_renderer_gl.c	Wed Dec 31 08:05:21 2008 +0000
     1.3 @@ -1109,7 +1109,6 @@
     1.4  GL_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)
     1.5  {
     1.6      GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
     1.7 -    SDL_Window *window = SDL_GetWindowFromID(renderer->window);
     1.8  
     1.9      GL_SetBlendMode(data, renderer->blendMode);
    1.10  
     2.1 --- a/src/video/SDL_renderer_gles.c	Wed Dec 31 07:56:56 2008 +0000
     2.2 +++ b/src/video/SDL_renderer_gles.c	Wed Dec 31 08:05:21 2008 +0000
     2.3 @@ -665,7 +665,6 @@
     2.4  GLES_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)
     2.5  {
     2.6      GLES_RenderData *data = (GLES_RenderData *) renderer->driverdata;
     2.7 -    SDL_Window *window = SDL_GetWindowFromID(renderer->window);
     2.8  
     2.9      GLES_SetBlendMode(data, renderer->blendMode);
    2.10