Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Don't free the surface since the application might be still using it.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 4, 2011
1 parent 51b3d89 commit 8dd683a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/SDL_sysvideo.h
Expand Up @@ -81,6 +81,7 @@ struct SDL_Window
SDL_DisplayMode fullscreen_mode;

SDL_Surface *surface;
SDL_bool surface_valid;

SDL_WindowShaper *shaper;

Expand Down

0 comments on commit 8dd683a

Please sign in to comment.