Fixed full-screen anti-alias issue (#478).

This commit is contained in:
photonstorm
2014-02-24 20:33:22 +00:00
parent d9cadc70ac
commit 36df5516dd
3 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ Phaser.StageScaleMode.prototype = {
return;
}
if (typeof antialias !== 'undefined')
if (typeof antialias !== 'undefined' && this.game.renderType === Phaser.CANVAS)
{
Phaser.Canvas.setSmoothingEnabled(this.game.context, antialias);
}