Don't free the surface since the application might be still using it.
This commit is contained in:
parent
60296780e3
commit
f5569d20c7
1 changed files with 1 additions and 0 deletions
|
@ -81,6 +81,7 @@ struct SDL_Window
|
|||
SDL_DisplayMode fullscreen_mode;
|
||||
|
||||
SDL_Surface *surface;
|
||||
SDL_bool surface_valid;
|
||||
|
||||
SDL_WindowShaper *shaper;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue