mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Handling when WebGL context is falsy and not just null
This commit is contained in:
parent
3664e84e19
commit
63c402517c
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ function init ()
|
|||
CanvasPool.remove(canvas);
|
||||
CanvasPool.remove(canvas2D);
|
||||
|
||||
return (ctx !== null);
|
||||
return !!ctx;
|
||||
}
|
||||
catch (e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue