We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Crash because of delete touch object without use release and runtime VAO support
Crash because of delete touch object without use release and runtime VAO support
Bug #3068 [Closed]
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
Status: | Closed | |
---|---|---|
Start date: | 2013-10-25 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | android, ios | |
Target version: | - |
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