mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 10:23:56 +00:00
SDL2 input: compilation fixed
This commit is contained in:
parent
0880805559
commit
adf54cb735
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ void OgreRenderer::createWindow(const std::string &title, const WindowSettings&
|
||||||
// Windows code
|
// Windows code
|
||||||
winHandle = Ogre::StringConverter::toString((unsigned long)wmInfo.info.win.window);
|
winHandle = Ogre::StringConverter::toString((unsigned long)wmInfo.info.win.window);
|
||||||
break;
|
break;
|
||||||
#elif MACOS
|
#elif __APPLE__
|
||||||
case SDL_SYSWM_COCOA:
|
case SDL_SYSWM_COCOA:
|
||||||
//required to make OGRE play nice with our window
|
//required to make OGRE play nice with our window
|
||||||
params.insert(std::make_pair("macAPI", "cocoa"));
|
params.insert(std::make_pair("macAPI", "cocoa"));
|
||||||
|
|
Loading…
Reference in a new issue