Fixed small bug in Game where AUTO didn't detect the lack of WebGL properly. Tidied up Math a bit more.

This commit is contained in:
Richard Davey
2013-08-30 20:05:29 +01:00
parent 54d98944e4
commit f9aa7f7339
5 changed files with 106 additions and 28 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ Phaser.Game.prototype = {
setUpRenderer: function () {
if (this.renderType == Phaser.CANVAS || (this.renderer == Phaser.AUTO && this.device.webGL == false))
if (this.renderType == Phaser.CANVAS || (this.renderType == Phaser.AUTO && this.device.webGL == false))
{
if (this.device.canvas)
{