mirror of
https://github.com/wassname/phaser.git
synced 2026-09-09 11:28:47 +08:00
Fixed full-screen anti-alias issue (#478).
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user