diff --git a/cocos2dx/platform/ios/CCEGLView_ios.mm b/cocos2dx/platform/ios/CCEGLView_ios.mm index 3ddb9ce253..587b5e5149 100644 --- a/cocos2dx/platform/ios/CCEGLView_ios.mm +++ b/cocos2dx/platform/ios/CCEGLView_ios.mm @@ -54,7 +54,8 @@ bool CCEGLView::isOpenGLReady() bool CCEGLView::canSetContentScaleFactor() { - return [[EAGLView sharedEGLView] respondsToSelector:@selector(setContentScaleFactor:)]; + return [[EAGLView sharedEGLView] respondsToSelector:@selector(setContentScaleFactor:)] + && [[UIScreen mainScreen] scale] != 1.0; } void CCEGLView::setContentScaleFactor(float contentScaleFactor)