mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 02:45:35 +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)
|
void RenderingManager::windowResized(int x, int y)
|
||||||
{
|
{
|
||||||
|
Settings::Manager::setInt("resolution x", "Video", x);
|
||||||
|
Settings::Manager::setInt("resolution y", "Video", y);
|
||||||
mRendering.adjustViewport();
|
mRendering.adjustViewport();
|
||||||
mCompositors->recreate();
|
mCompositors->recreate();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue