# HG changeset patch # User Sam Lantinga # Date 1296851161 28800 # Node ID b9cf75615028f26a0e63725716c83be48df96f86 # Parent ebfedf3787b1482c3791ca7f907421f5e700280a Don't free the surface since the application might be still using it. diff -r ebfedf3787b1 -r b9cf75615028 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;