Fix love.window.maximize to immediately update the window dimensions instead of waiting for the next love.event.pump. Fixes issue #1221.

This commit is contained in:
Alex Szpakowski
2016-10-10 09:14:57 -03:00
parent b1b4a637b5
commit 03c38185f6
2 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ private:
bool createWindowAndContext(int x, int y, int w, int h, Uint32 windowflags, int msaa);
// Update the saved window settings based on the window's actual state.
void updateSettings(const WindowSettings &newsettings);
void updateSettings(const WindowSettings &newsettings, bool updateGraphicsViewport);
SDL_MessageBoxFlags convertMessageBoxType(MessageBoxType type) const;