diff --git a/src/core/sprites/Sprite.js b/src/core/sprites/Sprite.js index 83c98de..1b79373 100644 --- a/src/core/sprites/Sprite.js +++ b/src/core/sprites/Sprite.js @@ -495,8 +495,8 @@ this.tintedTexture, 0, 0, - width * texture.resolution, - height * texture.resolution, + width * resolution, + height * resolution, dx * renderer.resolution, dy * renderer.resolution, width * renderer.resolution, @@ -507,10 +507,10 @@ { renderer.context.drawImage( texture.baseTexture.source, - texture.frame.x * texture.resolution, - texture.frame.y * texture.resolution, - width * texture.resolution, - height * texture.resolution, + texture.frame.x * resolution, + texture.frame.y * resolution, + width * resolution, + height * resolution, dx * renderer.resolution, dy * renderer.resolution, width * renderer.resolution,