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:
parent
c94f006307
commit
8f4ffe4ddc
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue