Remove code in OSX version of irrlicht that's causing more harm than good (compilation errors)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2013-10-14 23:28:53 +00:00
parent 0e6db301f6
commit c69f290c5f

View File

@ -616,8 +616,8 @@ bool CIrrDeviceMacOSX::createWindow()
// we need to check where the exceptions may happen and work at them
// for now we will just catch them to be able to avoid an app exit
@try
{
//@try
//{
if (!CreationParams.Fullscreen)
{
if(!CreationParams.WindowId) //create another window when WindowId is null
@ -858,12 +858,12 @@ bool CIrrDeviceMacOSX::createWindow()
}
}
}
}
@catch (NSException *exception)
{
closeDevice();
result = false;
}
//}
//@catch (NSException *exception)
//{
// closeDevice();
// result = false;
//}
if (result)
{