mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
OritentationSprite fix, not using PIXI.TextureCache anymore
This commit is contained in:
parent
fc047c5870
commit
ba62326ce7
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ Phaser.ScaleManager.prototype = {
|
||||||
orientationImage = '__default';
|
orientationImage = '__default';
|
||||||
}
|
}
|
||||||
|
|
||||||
this.orientationSprite = new Phaser.Image(this.game, this.game.width / 2, this.game.height / 2, PIXI.TextureCache[orientationImage]);
|
this.orientationSprite = new Phaser.Image(this.game, this.game.width / 2, this.game.height / 2, orientationImage);
|
||||||
this.orientationSprite.anchor.set(0.5);
|
this.orientationSprite.anchor.set(0.5);
|
||||||
|
|
||||||
this.checkOrientationState();
|
this.checkOrientationState();
|
||||||
|
|
Loading…
Reference in a new issue