Fixed sprite batch issue
This commit is contained in:
parent
312976e2aa
commit
e99a42dd26
3 changed files with 5 additions and 5 deletions
|
@ -6879,9 +6879,9 @@ PIXI.WebGLFastSpriteBatch.prototype.renderSprite = function(sprite)
|
|||
// TODO trim??
|
||||
if(sprite.texture.baseTexture !== this.currentBaseTexture)
|
||||
{
|
||||
this.currentBaseTexture = sprite.texture.baseTexture;
|
||||
this.flush();
|
||||
|
||||
this.currentBaseTexture = sprite.texture.baseTexture;
|
||||
|
||||
if(!sprite.texture._uvs)return;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -128,9 +128,9 @@ PIXI.WebGLFastSpriteBatch.prototype.renderSprite = function(sprite)
|
|||
// TODO trim??
|
||||
if(sprite.texture.baseTexture !== this.currentBaseTexture)
|
||||
{
|
||||
this.currentBaseTexture = sprite.texture.baseTexture;
|
||||
this.flush();
|
||||
|
||||
this.currentBaseTexture = sprite.texture.baseTexture;
|
||||
|
||||
if(!sprite.texture._uvs)return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue