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

Failed to allocate buffer for DrawNode #1841

Open
tankgit opened this issue Dec 13, 2018 · 0 comments
Open

Failed to allocate buffer for DrawNode #1841

tankgit opened this issue Dec 13, 2018 · 0 comments

Comments

@tankgit
Copy link

tankgit commented Dec 13, 2018

When I was using DrawNode to draw a great amount of shapes, only part of them can be rendered, once the amount is over a threshold, DrawNode stop drawing, and send me a warning in console:

Failed to allocate buffer for DrawNode: buffer for 64 vertices requested

Actually, I'm building a drawing-app for users, so each time when user touches somewhere, I call drawSegment() to reflect users touch. After drawing a little while, this issue came out.

update:
This issue came out while using webGL.
Canvas is ok.

Anyone knows why?

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

1 participant