Allow the render context to do necessary work when the video mode changes.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402017
This commit is contained in:
parent
461c8e2db4
commit
a1ced0d971
7 changed files with 96 additions and 23 deletions
|
@ -72,6 +72,7 @@ SDL_SendWindowEvent(SDL_WindowID windowID, Uint8 windowevent, int data1,
|
|||
}
|
||||
window->w = data1;
|
||||
window->h = data2;
|
||||
SDL_OnWindowResized(window);
|
||||
break;
|
||||
case SDL_WINDOWEVENT_MINIMIZED:
|
||||
if (window->flags & SDL_WINDOW_MINIMIZED) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue