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
Forces Phaser to use the WebGL Renderer. If the browser does not support it, there is no fallback to Canvas with this setting, so you should trap it and display a suitable message to the user.
But this doesn't happen. In this case WEBGL seems to act just like AUTO.
Thanks for opening this issue, and for submitting a PR to fix it. We have merged your PR into the master branch and attributed the work to you in the Change Log. If you need to tweak the code for whatever reason please submit a new PR.
Version
Description
Create a game with type
Phaser.WEBGL
. Run it on a device without WebGL. The game runs in CANVAS mode.The docs say:
But this doesn't happen. In this case WEBGL seems to act just like AUTO.
Example Test Code
In Firefox you can set
webGL.disabled
tofalse
inabout:config
and then visit any WEBGL example, e.g., http://phaser.io/examples/v3/view/display/alpha/single-alpha. The game runs in CANVAS mode with no error.Or you can do
The text was updated successfully, but these errors were encountered: