changeset 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 ebfedf3787b1
children 9b2e99ebd099
files src/video/SDL_sysvideo.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;