mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Set the window rectangle on the Viewer's EventQueue
This commit is contained in:
parent
3693f05ef5
commit
b40ca9b60a
1 changed files with 2 additions and 0 deletions
|
@ -402,6 +402,8 @@ void OMW::Engine::createWindow(Settings::Manager& settings)
|
||||||
camera->setViewport(0, 0, width, height);
|
camera->setViewport(0, 0, width, height);
|
||||||
|
|
||||||
mViewer->realize();
|
mViewer->realize();
|
||||||
|
|
||||||
|
mViewer->getEventQueue()->getCurrentEventState()->setWindowRectangle(0, 0, width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OMW::Engine::setWindowIcon()
|
void OMW::Engine::setWindowIcon()
|
||||||
|
|
Loading…
Reference in a new issue