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