diff --git a/src/core/sprites/Sprite.js b/src/core/sprites/Sprite.js index a9c7faf..2e10f73 100644 --- a/src/core/sprites/Sprite.js +++ b/src/core/sprites/Sprite.js @@ -478,26 +478,26 @@ this.tintedTexture, 0, 0, - width, - height, + width * resolution, + height * resolution, dx / resolution, dy / resolution, - width / resolution, - width / resolution + width, + height ); } else { renderer.context.drawImage( texture.baseTexture.source, - texture.crop.x, - texture.crop.y, - width, - height, + texture.crop.x * resolution, + texture.crop.y * resolution, + width * resolution, + height * resolution, dx / resolution, dy / resolution, - width / resolution, - height / resolution + width, + height ); } }