mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Windows fixes
This commit is contained in:
parent
2e2f8e9725
commit
4b2e2f7503
@ -11,8 +11,8 @@ EventInjector::EventInjector(MyGUI::Gui *g)
|
||||
: gui(g), mouseX(0), mouseY(0), enabled(true)
|
||||
{
|
||||
assert(gui);
|
||||
maxX = gui->getViewWidth();
|
||||
maxY = gui->getViewHeight();
|
||||
maxX = gui->getViewSize().width;
|
||||
maxY = gui->getViewSize().height;
|
||||
}
|
||||
|
||||
template <typename X>
|
||||
|
Loading…
x
Reference in New Issue
Block a user