Merge pull request #7893 from slackmoehrle/glview_fix

Glview fix
This commit is contained in:
minggo 2014-08-28 10:10:17 +08:00
commit b8447baf73
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ GLViewImpl::GLViewImpl()
GLViewImpl::~GLViewImpl()
{
CCEAGLView *glview = (CCEAGLView*) _eaglview;
[glview release];
//[glview release];
}
bool GLViewImpl::initWithEAGLView(void *eaglview)
@ -187,7 +187,7 @@ void GLViewImpl::end()
CCEAGLView *eaglview = (CCEAGLView*) _eaglview;
[eaglview removeFromSuperview];
[eaglview release];
//[eaglview release];
}