diff src/events/SDL_windowevents.c @ 5169:4d39eeaad00b

Added a way to get a framebuffer interface for a window, and also a way to create a software renderer for an arbitrary surface. The software renderer has been re-routed to use the framebuffer interface, which makes it possible to have software rendering available even on simple ports.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 03 Feb 2011 15:49:37 -0800
parents ad50b3db78bd
children 7a963be087ef
line wrap: on
line diff
--- a/src/events/SDL_windowevents.c	Thu Feb 03 11:16:57 2011 -0800
+++ b/src/events/SDL_windowevents.c	Thu Feb 03 15:49:37 2011 -0800
@@ -106,6 +106,7 @@
         }
         window->w = data1;
         window->h = data2;
+        SDL_OnWindowResized(window);
         break;
     case SDL_WINDOWEVENT_MINIMIZED:
         if (window->flags & SDL_WINDOW_MINIMIZED) {