diff --git a/cocos/platform/ios/CCGLViewImpl-ios.mm b/cocos/platform/ios/CCGLViewImpl-ios.mm index 022fd51d56..662568cee5 100644 --- a/cocos/platform/ios/CCGLViewImpl-ios.mm +++ b/cocos/platform/ios/CCGLViewImpl-ios.mm @@ -128,7 +128,7 @@ bool GLViewImpl::initWithRect(const std::string& viewName, Rect rect, float fram sharegroup: nil multiSampling: NO numberOfSamples: 0]; - + [eaglview setMultipleTouchEnabled:YES]; _screenSize.width = _designResolutionSize.width = [eaglview getWidth]; @@ -182,12 +182,12 @@ float GLViewImpl::getContentScaleFactor() const void GLViewImpl::end() { [CCDirectorCaller destroy]; - + // destroy EAGLView CCEAGLView *eaglview = (CCEAGLView*) _eaglview; [eaglview removeFromSuperview]; - //[eaglview release]; + [eaglview release]; }