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

Fix #7387: Specify buffers in regl.clear() to avoid performance warning #7390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MzyzzG
Copy link

@MzyzzG MzyzzG commented Mar 16, 2025

This PR fixes issue #7387 by specifying the color and depth buffers in the regl.clear() call in src/traces/scattergl/plot.js. This prevents the "Performance warning: clear() called with no buffers in bitmask" warning.

Changes:

  • Modified regl.clear({}) to regl.clear({ color: true, depth: true }).

@gvwilson gvwilson added feature something new community community contribution P2 considered for next cycle labels Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community community contribution feature something new P2 considered for next cycle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants