mirror of https://github.com/axmolengine/axmol.git
comment out [glview release]; and [eaglview release];
This commit is contained in:
parent
d4d2b8c83e
commit
1b5413d8b4
|
@ -102,7 +102,6 @@ GLViewImpl::GLViewImpl()
|
|||
GLViewImpl::~GLViewImpl()
|
||||
{
|
||||
CCEAGLView *glview = (CCEAGLView*) _eaglview;
|
||||
// per: http://discuss.cocos2d-x.org/t/ios-glview-cceaglview-incorrect-memory-management/16554/3
|
||||
//[glview release];
|
||||
}
|
||||
|
||||
|
@ -188,8 +187,6 @@ void GLViewImpl::end()
|
|||
CCEAGLView *eaglview = (CCEAGLView*) _eaglview;
|
||||
|
||||
[eaglview removeFromSuperview];
|
||||
|
||||
// per: http://discuss.cocos2d-x.org/t/ios-glview-cceaglview-incorrect-memory-management/16554/3
|
||||
//[eaglview release];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue