src/render/opengles/SDL_render_gles.c
changeset 5276 8e421890cdb8
parent 5262 b530ef003506
child 5297 1800dc39b74c
--- a/src/render/opengles/SDL_render_gles.c	Sat Feb 12 17:51:47 2011 -0800
+++ b/src/render/opengles/SDL_render_gles.c	Sat Feb 12 19:02:14 2011 -0800
@@ -261,7 +261,7 @@
 {
     GLES_RenderData *data = (GLES_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;