Skip to content

Commit 491d7c2

Browse files
committed
Merge pull request phaserjs#1036 from DarkDev-/dev
OritentationSprite fix, not using PIXI.TextureCache anymore
2 parents f9a6d1f + ba62326 commit 491d7c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/ScaleManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Phaser.ScaleManager.prototype = {
396396
orientationImage = '__default';
397397
}
398398

399-
this.orientationSprite = new Phaser.Image(this.game, this.game.width / 2, this.game.height / 2, PIXI.TextureCache[orientationImage]);
399+
this.orientationSprite = new Phaser.Image(this.game, this.game.width / 2, this.game.height / 2, orientationImage);
400400
this.orientationSprite.anchor.set(0.5);
401401

402402
this.checkOrientationState();

0 commit comments

Comments
 (0)