- 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-e03cc46cb475master
parent
27bf238aa5
commit
5029043db0
|
@ -344,6 +344,9 @@ namespace irr
|
|||
deactivateAccelerometer();
|
||||
|
||||
delete static_cast<SIrrDeviceiOSDataStorage*>(DataStorage);
|
||||
|
||||
CIrrDelegateiOS* delegate = [UIApplication sharedApplication].delegate;
|
||||
[delegate setDevice:nil];
|
||||
}
|
||||
|
||||
bool CIrrDeviceiOS::run()
|
||||
|
|
Loading…
Reference in New Issue