Don't free the surface since the application might be still using it.

This commit is contained in:
Sam Lantinga
2011-02-04 12:26:01 -08:00
parent 7656894d2a
commit 6bd644058c

View File

@@ -81,6 +81,7 @@ struct SDL_Window
SDL_DisplayMode fullscreen_mode;
SDL_Surface *surface;
SDL_bool surface_valid;
SDL_WindowShaper *shaper;