From c69f290c5f57c1008c5f2e3c68db2a1ede74f44e Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 14 Oct 2013 23:28:53 +0000 Subject: [PATCH] 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 --- .../source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm b/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm index 6862c0a5c..4cac8693d 100644 --- a/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm +++ b/lib/irrlicht/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm @@ -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) {