1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

Windows fixes

This commit is contained in:
athile 2010-08-30 11:37:48 +01:00
parent 2e2f8e9725
commit 4b2e2f7503

View File

@ -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>