Fixed SDL applications being killed immediately after being backgrounded, because they were trying to draw while minimized.

This commit is contained in:
Sam Lantinga 2011-11-07 23:07:00 -05:00
parent 352caf548a
commit c5b4e5f63e
4 changed files with 49 additions and 0 deletions

View file

@ -99,6 +99,7 @@ struct SDL_Renderer
/* The window associated with the renderer */
SDL_Window *window;
SDL_bool minimized;
/* The drawable area within the window */
SDL_Rect viewport;