Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when drawNumberOfQuads #2264

Closed
stubma opened this issue Mar 26, 2013 · 1 comment
Closed

Crash when drawNumberOfQuads #2264

stubma opened this issue Mar 26, 2013 · 1 comment

Comments

@stubma
Copy link

stubma commented Mar 26, 2013

branch master-v2

for following code, if comment out first drawNumberOfQuads, then second drawNumberOfQuads will crash.
CCSpriteBatchNode* sheet = ...;
CCTextureAtlas* atlas = sheet->getTextureAtlas();
atlas->drawNumberOfQuads(1, 0);
atlas->drawNumberOfQuads(1, 1); // crash when previous call is commented out

or, if I insert a getQuads before second drawNumberOfQuads, it will crash also.
CCSpriteBatchNode* sheet = iter;
CCTextureAtlas
atlas = sheet->getTextureAtlas();
atlas->drawNumberOfQuads(1, 0);
atlas->getQuads();
atlas->drawNumberOfQuads(1, 1); // crash

@godyZ
Copy link
Contributor

godyZ commented Aug 21, 2013

Please, could you open a bug in redmine in future? We are in process of migrating all the issues to redmine and github issue won't be available after August. The issue is migrated to http://www.cocos2d-x.org/issues/2637

@minggo minggo closed this as completed Aug 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants