1
0
Fork 0
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:
Nikolay Kasyanov 2013-06-15 13:54:24 +04:00
parent 0880805559
commit adf54cb735

View file

@ -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"));