From 8f4ffe4ddc569127c5d7a0819798937b95ba11a4 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 3 Dec 2013 15:55:31 +0100 Subject: [PATCH] Fix new window size not being written to settings when manually resizing window --- apps/openmw/mwrender/renderingmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index 1b891368f..26e88fb0d 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -878,6 +878,8 @@ void RenderingManager::setMenuTransparency(float val) void RenderingManager::windowResized(int x, int y) { + Settings::Manager::setInt("resolution x", "Video", x); + Settings::Manager::setInt("resolution y", "Video", y); mRendering.adjustViewport(); mCompositors->recreate();