Projects > cpp > Issues > Bug #3068

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Crash because of delete touch object without use release and runtime VAO support

Bug #3068 [Closed]
zx123xz321hm3@hotmail.com 2013-10-25 06:49 . Updated about 2 years ago

I.
I want use touch->retain() to retain touch information in touch handle.
But it always crash if I do this.
Finally I found there is direct delete touch object in CCEGLViewProtocol:: handleTouchesOfEndOrCancel .
It’s works for me with replace delete to release() .
Please check if this is correct.
Thanks.

II.
use Configuration::getInstance()->supportsShareableVAO() in place of CC_TEXTURE_ATLAS_USE_VAO.

III.
fix GL_EXT_discard_framebuffer always disable in EAGLView.mm.

Pull request on github:
https://github.com/cocos2d/cocos2d-x/pull/3873

walzer@cocos2d-x.org 2014-10-08 02:51

Redmine issue system is closed, we are using github issue system instead.

This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8240

Atom PDF

Status:Closed
Start date:2013-10-25
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:android, ios
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.