mirror of https://github.com/axmolengine/axmol.git
commit
b8447baf73
|
@ -102,7 +102,7 @@ GLViewImpl::GLViewImpl()
|
||||||
GLViewImpl::~GLViewImpl()
|
GLViewImpl::~GLViewImpl()
|
||||||
{
|
{
|
||||||
CCEAGLView *glview = (CCEAGLView*) _eaglview;
|
CCEAGLView *glview = (CCEAGLView*) _eaglview;
|
||||||
[glview release];
|
//[glview release];
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GLViewImpl::initWithEAGLView(void *eaglview)
|
bool GLViewImpl::initWithEAGLView(void *eaglview)
|
||||||
|
@ -187,7 +187,7 @@ void GLViewImpl::end()
|
||||||
CCEAGLView *eaglview = (CCEAGLView*) _eaglview;
|
CCEAGLView *eaglview = (CCEAGLView*) _eaglview;
|
||||||
|
|
||||||
[eaglview removeFromSuperview];
|
[eaglview removeFromSuperview];
|
||||||
[eaglview release];
|
//[eaglview release];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue