src/render/opengl/SDL_render_gl.c
changeset 5981 75caa8a7d559
parent 5566 0d221d6ffac8
child 6135 b052a5882a47
--- a/src/render/opengl/SDL_render_gl.c	Wed Oct 12 20:01:09 2011 -0400
+++ b/src/render/opengl/SDL_render_gl.c	Thu Oct 13 01:08:30 2011 -0400
@@ -348,8 +348,6 @@
 static void
 GL_WindowEvent(SDL_Renderer * renderer, const SDL_WindowEvent *event)
 {
-    GL_RenderData *data = (GL_RenderData *) renderer->driverdata;
-
     if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) {
         /* Rebind the context to the window area and update matrices */
         SDL_CurrentContext = NULL;