mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +00:00
fixed tinting issue when loading textures
This commit is contained in:
parent
268b13392b
commit
50a454b79e
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ PIXI.Sprite.prototype.setTexture = function(texture, destroyBase)
|
|||
this.texture.baseTexture.skipRender = false;
|
||||
this.texture = texture;
|
||||
this.texture.valid = true;
|
||||
this.cachedTint = -1;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue