mirror of https://github.com/axmolengine/axmol.git
fix issue on Xcode 6
This commit is contained in:
parent
489cc2dfab
commit
66c7b85134
|
@ -128,6 +128,8 @@ static CCAccelerometerDispatcher* s_pAccelerometerDispatcher;
|
|||
|
||||
case UIInterfaceOrientationPortrait:
|
||||
break;
|
||||
default:
|
||||
NSAssert(false, @"unknow orientation");
|
||||
}
|
||||
|
||||
cocos2d::EventAcceleration event(*_acceleration);
|
||||
|
|
Loading…
Reference in New Issue