Don't free the surface since the application might be still using it.
authorSam Lantinga <slouken@libsdl.org>
Fri, 04 Feb 2011 12:26:01 -0800
changeset 5174 b9cf75615028
parent 5173 ebfedf3787b1
child 5175 9b2e99ebd099
Don't free the surface since the application might be still using it.
src/video/SDL_sysvideo.h
--- a/src/video/SDL_sysvideo.h	Fri Feb 04 12:25:26 2011 -0800
+++ b/src/video/SDL_sysvideo.h	Fri Feb 04 12:26:01 2011 -0800
@@ -81,6 +81,7 @@
     SDL_DisplayMode fullscreen_mode;
     
     SDL_Surface *surface;
+    SDL_bool surface_valid;
 
     SDL_WindowShaper *shaper;