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 5174b9cf75615028
parent 5173 ebfedf3787b1
child 5175 9b2e99ebd099
Don't free the surface since the application might be still using it.
src/video/SDL_sysvideo.h
     1.1 --- a/src/video/SDL_sysvideo.h	Fri Feb 04 12:25:26 2011 -0800
     1.2 +++ b/src/video/SDL_sysvideo.h	Fri Feb 04 12:26:01 2011 -0800
     1.3 @@ -81,6 +81,7 @@
     1.4      SDL_DisplayMode fullscreen_mode;
     1.5      
     1.6      SDL_Surface *surface;
     1.7 +    SDL_bool surface_valid;
     1.8  
     1.9      SDL_WindowShaper *shaper;
    1.10