Skip to content

preserveDrawingBuffer & getDataURL #9

@JD-Robbs

Description

@JD-Robbs

When trying to convert the canvas to a png, I kept getting empty canvases.

This can be fixed by using getContext("experimental-webgl", {preserveDrawingBuffer: true}); when using getContext.

Just wondering whether the code should be changed accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions