Skip to content

Plotly-strict - Calls to WebGLRenderingContext.clear() Trigger Warning #7387

Open
@zachchan-voltaiq

Description

@zachchan-voltaiq

In the plotly-strict.js dist, there is not a check to see if clearFlags is > 0, prior to calling gl2.clear(clearFlags)

This triggers a warning:
Performance warning: clear() called with no buffers in bitmask

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2considered for next cyclebugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions