Update WebGLRenderer.js

This commit is contained in:
Zeke Chan 2024-06-11 15:25:53 +08:00
parent 4a82a8bc9b
commit 43ce515fcb

View file

@ -932,7 +932,7 @@ var WebGLRenderer = new Class({
*
* You can override these handlers with your own via this method.
*
* If you do override them, make sure that your handlers invoke the methods `WebGLRenderer.dispatchContextLost` and `WebGLRenderer.dispatchContextRestored` in due course, otherwise the renderer will be able to restore itself fully.
* If you do override them, make sure that your handlers invoke the methods `WebGLRenderer.dispatchContextLost` and `WebGLRenderer.dispatchContextRestored` in due course, otherwise the renderer will not be able to restore itself fully.
*
* @method Phaser.Renderer.WebGL.WebGLRenderer#setContextHandlers
* @since 3.85.0