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:
parent
0e6db301f6
commit
c69f290c5f
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user