diff src/video/SDL_sysvideo.h @ 5177:b9cf75615028

Don't free the surface since the application might be still using it.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Feb 2011 12:26:01 -0800
parents 4d39eeaad00b
children 3a8a452b49f0
line wrap: on
line diff
--- 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;