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 60296780e3
commit f5569d20c7

View file

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