diff src/events/SDL_windowevents.c @ 1970:db3ba6c0d0df

Allow the render context to do necessary work when the video mode changes.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 06 Aug 2006 04:39:13 +0000
parents a228436a2404
children f7872b7a8732
line wrap: on
line diff
--- a/src/events/SDL_windowevents.c	Sun Aug 06 00:09:04 2006 +0000
+++ b/src/events/SDL_windowevents.c	Sun Aug 06 04:39:13 2006 +0000
@@ -72,6 +72,7 @@
         }
         window->w = data1;
         window->h = data2;
+        SDL_OnWindowResized(window);
         break;
     case SDL_WINDOWEVENT_MINIMIZED:
         if (window->flags & SDL_WINDOW_MINIMIZED) {