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

WebGL context loss messages #2

Open
1j01 opened this issue Dec 22, 2017 · 0 comments
Open

WebGL context loss messages #2

1j01 opened this issue Dec 22, 2017 · 0 comments

Comments

@1j01
Copy link
Owner

1j01 commented Dec 22, 2017

I made it reinitialize the WebGL context everytime it resets the state, to make things much simpler.
But I apparently should clean up the WebGL context (explicitly) before discarding it.
(Or maybe go back to trying to reset everything without destroying the context.)

https://stackoverflow.com/questions/37072303/how-to-free-and-garbage-collect-a-webgl-context
https://stackoverflow.com/questions/23598471/how-do-i-clean-up-and-unload-a-webgl-canvas-context-from-gpu-after-use

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant