You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the upcoming WebGL support, we don't handle the situation where the WebGL context is lost and restored. While it might be best to detect this externally and restart the app, we could handle this internally by saving all the textures in RAM and re-uploading them when the context is restored, as well as re-initialising all the shaders/etc.
The text was updated successfully, but these errors were encountered:
It'll probably have to be configurable (and off by default) if it's added after the initial release, to avoid conflicting with any user-provided handling.
QuantumBadger
changed the title
Handle WebGL context loss
WebCanvas: Handle WebGL context loss
Dec 5, 2021
In the upcoming WebGL support, we don't handle the situation where the WebGL context is lost and restored. While it might be best to detect this externally and restart the app, we could handle this internally by saving all the textures in RAM and re-uploading them when the context is restored, as well as re-initialising all the shaders/etc.
The text was updated successfully, but these errors were encountered: