- Minor fix for iOS device handling.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@5235 dfc29bdd-3216-0410-991c-e03cc46cb475
master
nadro 2016-01-06 16:33:55 +00:00
parent 27bf238aa5
commit 5029043db0
1 changed files with 3 additions and 0 deletions

View File

@ -344,6 +344,9 @@ namespace irr
deactivateAccelerometer();
delete static_cast<SIrrDeviceiOSDataStorage*>(DataStorage);
CIrrDelegateiOS* delegate = [UIApplication sharedApplication].delegate;
[delegate setDevice:nil];
}
bool CIrrDeviceiOS::run()