Skip to content

Failed to allocate buffer for DrawNode #1841

@tankgit

Description

@tankgit

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions