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

[CURVE/RUNE]: WebGL context loss not handled #224

Open
Cloud7050 opened this issue Sep 4, 2023 · 0 comments
Open

[CURVE/RUNE]: WebGL context loss not handled #224

Cloud7050 opened this issue Sep 4, 2023 · 0 comments
Labels
Bug [Category] minor [Priority]

Comments

@Cloud7050
Copy link
Contributor

Cloud7050 commented Sep 4, 2023

When the canvas used by the curve or rune modules loses its WebGL context, the canvas stops functioning and the module does not recover. Because the webglcontextlost event is not handled and does not preventDefault(), the browser does not eventually restore the context (thereby triggering the corresponding webglcontextrestored event to allow the module the chance to recover).

image

The modules should be updated to handle this scenario similar to CSG (see #146).

@Cloud7050 Cloud7050 added Bug [Category] minor [Priority] labels Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug [Category] minor [Priority]
Projects
None yet
Development

No branches or pull requests

1 participant