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.
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:
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?