diff --git a/src/pixi/extras/TilingSprite.js b/src/pixi/extras/TilingSprite.js index 21dfd34..839ba94 100644 --- a/src/pixi/extras/TilingSprite.js +++ b/src/pixi/extras/TilingSprite.js @@ -404,7 +404,8 @@ targetWidth = PIXI.getNextPowerOfTwo(frame.width); targetHeight = PIXI.getNextPowerOfTwo(frame.height); - if (frame.width !== targetWidth || frame.height !== targetHeight) newTextureRequired = true; + // If the BaseTexture dimensions don't match the texture frame then we need a new texture anyway because it's part of a texture atlas + if (frame.width !== targetWidth || frame.height !== targetHeight || texture.baseTexture.width !== targetWidth || texture.baseTexture.height || targetHeight) newTextureRequired = true; } if (newTextureRequired)