From 6bd644058c306187ca9120fed0d9863f9057d19e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 4 Feb 2011 12:26:01 -0800 Subject: [PATCH] Don't free the surface since the application might be still using it. --- src/video/SDL_sysvideo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/SDL_sysvideo.h b/src/video/SDL_sysvideo.h index 3e14224c1..e0c54ba43 100644 --- a/src/video/SDL_sysvideo.h +++ b/src/video/SDL_sysvideo.h @@ -81,6 +81,7 @@ struct SDL_Window SDL_DisplayMode fullscreen_mode; SDL_Surface *surface; + SDL_bool surface_valid; SDL_WindowShaper *shaper;