Mercurial > sdl-ios-xcode
diff src/render/opengl/SDL_render_gl.c @ 5283:a3bfe8657cde
merged
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Sat, 12 Feb 2011 21:34:36 -0800 |
parents | 8e421890cdb8 |
children |
line wrap: on
line diff
--- a/src/render/opengl/SDL_render_gl.c Sat Feb 12 19:16:09 2011 -0800 +++ b/src/render/opengl/SDL_render_gl.c Sat Feb 12 21:34:36 2011 -0800 @@ -348,7 +348,7 @@ { GL_RenderData *data = (GL_RenderData *) renderer->driverdata; - if (event->event == SDL_WINDOWEVENT_RESIZED) { + if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) { /* Rebind the context to the window area and update matrices */ SDL_CurrentContext = NULL; data->updateSize = SDL_TRUE;