forked from teamnwah/openmw-tes3coop
Windows fixes
This commit is contained in:
parent
2e2f8e9725
commit
4b2e2f7503
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ EventInjector::EventInjector(MyGUI::Gui *g)
|
||||||
: gui(g), mouseX(0), mouseY(0), enabled(true)
|
: gui(g), mouseX(0), mouseY(0), enabled(true)
|
||||||
{
|
{
|
||||||
assert(gui);
|
assert(gui);
|
||||||
maxX = gui->getViewWidth();
|
maxX = gui->getViewSize().width;
|
||||||
maxY = gui->getViewHeight();
|
maxY = gui->getViewSize().height;
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename X>
|
template <typename X>
|
||||||
|
|
Loading…
Reference in a new issue