Skip to content

Commit bec18cb

Browse files
committed
Removed redundant event call.
1 parent c56d2c6 commit bec18cb

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/pixi/display/Sprite.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ PIXI.Sprite = function(texture)
8383
*/
8484
this.shader = null;
8585

86-
if(this.texture.baseTexture.hasLoaded)
86+
if (this.texture.baseTexture.hasLoaded)
8787
{
8888
this.onTextureUpdate();
8989
}
90-
else
91-
{
92-
this.texture.on( 'update', this.onTextureUpdate.bind(this) );
93-
}
90+
// else
91+
// {
92+
// this.texture.on( 'update', this.onTextureUpdate.bind(this) );
93+
// }
9494

9595
this.renderable = true;
9696

0 commit comments

Comments
 (0)