- 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-e03cc46cb475master
parent
5029043db0
commit
f2c8b5760a
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue