Skip to content

Commit 8132427

Browse files
committed
fix antialias bug
1 parent d1ea96f commit 8132427

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/Game.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Phaser.Game = function (width, height, renderer, parent, state, transparent, ant
3232
parent = parent || '';
3333
state = state || null;
3434
transparent = transparent || false;
35-
antialias = antialias || true;
35+
antialias = typeof antialias === 'undefined' ? true : antialias;
3636

3737
/**
3838
* Phaser Game ID (for when Pixi supports multiple instances)

0 commit comments

Comments
 (0)