1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-01 00:45:32 +00:00

Fix new window size not being written to settings when manually resizing window

This commit is contained in:
scrawl 2013-12-03 15:55:31 +01:00
parent c94f006307
commit 8f4ffe4ddc

View file

@ -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();