Skip to content

Commit 50a454b

Browse files
committed
fixed tinting issue when loading textures
1 parent 268b133 commit 50a454b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/pixi/display/Sprite.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ PIXI.Sprite.prototype.setTexture = function(texture, destroyBase)
174174
this.texture.baseTexture.skipRender = false;
175175
this.texture = texture;
176176
this.texture.valid = true;
177+
this.cachedTint = -1;
177178
};
178179

179180
/**

0 commit comments

Comments
 (0)