phaser
phaser copied to clipboard
context restore error
Version
- Phaser Version: 3.55.2
- Operating system: all
- Browser: all
Description
WARNING: Too many active WebGL contexts. Oldest context will be lost.
When encountering this kind of problem, it will trigger the WebGL context loss event, but how to recover from the context loss.
The function contextRestoredHandler in WebGLRenderer only reinitializes WebGLRender, but it does not restore the related Buffer, Texture, and Shader
Example Test Code
Additional Information
