mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +00:00
Set the window rectangle on the Viewer's EventQueue
This commit is contained in:
parent
3693f05ef5
commit
b40ca9b60a
@ -402,6 +402,8 @@ void OMW::Engine::createWindow(Settings::Manager& settings)
|
||||
camera->setViewport(0, 0, width, height);
|
||||
|
||||
mViewer->realize();
|
||||
|
||||
mViewer->getEventQueue()->getCurrentEventState()->setWindowRectangle(0, 0, width, height);
|
||||
}
|
||||
|
||||
void OMW::Engine::setWindowIcon()
|
||||
|
Loading…
x
Reference in New Issue
Block a user