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