Removed unused variable
authorSam Lantinga <slouken@libsdl.org>
Wed, 31 Dec 2008 08:05:21 +0000
changeset 2937 017d4334accf
parent 2936 066384910f50
child 2938 2929ed239d2a
Removed unused variable
src/video/SDL_renderer_gl.c
src/video/SDL_renderer_gles.c
--- a/src/video/SDL_renderer_gl.c	Wed Dec 31 07:56:56 2008 +0000
+++ b/src/video/SDL_renderer_gl.c	Wed Dec 31 08:05:21 2008 +0000
@@ -1109,7 +1109,6 @@
 GL_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)
 {
     GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
-    SDL_Window *window = SDL_GetWindowFromID(renderer->window);
 
     GL_SetBlendMode(data, renderer->blendMode);
 
--- a/src/video/SDL_renderer_gles.c	Wed Dec 31 07:56:56 2008 +0000
+++ b/src/video/SDL_renderer_gles.c	Wed Dec 31 08:05:21 2008 +0000
@@ -665,7 +665,6 @@
 GLES_RenderFill(SDL_Renderer * renderer, const SDL_Rect * rect)
 {
     GLES_RenderData *data = (GLES_RenderData *) renderer->driverdata;
-    SDL_Window *window = SDL_GetWindowFromID(renderer->window);
 
     GLES_SetBlendMode(data, renderer->blendMode);