- Fixed compilation issues on iOS when built-in main is disabled.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@5236 dfc29bdd-3216-0410-991c-e03cc46cb475
master
nadro 2016-01-06 16:36:04 +00:00
parent 5029043db0
commit f2c8b5760a
1 changed files with 2 additions and 0 deletions

View File

@ -345,8 +345,10 @@ namespace irr
delete static_cast<SIrrDeviceiOSDataStorage*>(DataStorage);
#ifdef _IRR_COMPILE_WITH_IOS_BUILTIN_MAIN_
CIrrDelegateiOS* delegate = [UIApplication sharedApplication].delegate;
[delegate setDevice:nil];
#endif
}
bool CIrrDeviceiOS::run()