This commit is contained in:
natural-law 2010-09-11 06:51:13 +00:00
parent fd965f88d0
commit 143d8a3271
2 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,8 @@ public:
virtual void touchesMoved(NSSet* touches, UIEvent* pEvent) = 0;
virtual void touchesEnded(NSSet* touches, UIEvent* pEvent) = 0;
virtual void touchesCancelled(NSSet* touches, UIEvent* pEvent) = 0;
virtual ~EGLTouchDelegate() {}
};
/** CCTouchDispatcher.

View File

@ -510,6 +510,7 @@ bool CCXEGLView::isOpenGLReady()
void CCXEGLView::release()
{
CCX_SAFE_DELETE(m_pDelegate);
CCX_SAFE_DELETE(m_pEGL);
CloseWindow();
}