diff --git a/src/core/sprites/Sprite.js b/src/core/sprites/Sprite.js index a1d828b..83c98de 100644 --- a/src/core/sprites/Sprite.js +++ b/src/core/sprites/Sprite.js @@ -423,8 +423,8 @@ wt = this.worldTransform, dx, dy, - width = texture._frame.width * texture.resolution, - height = texture._frame.height * texture.resolution; + width = texture._frame.width, + height = texture._frame.height; renderer.context.globalAlpha = this.worldAlpha; @@ -495,8 +495,8 @@ this.tintedTexture, 0, 0, - width, - height, + width * texture.resolution, + height * texture.resolution, dx * renderer.resolution, dy * renderer.resolution, width * renderer.resolution, @@ -507,10 +507,10 @@ { renderer.context.drawImage( texture.baseTexture.source, - texture.frame.x, - texture.frame.y, - width, - height, + texture.frame.x * texture.resolution, + texture.frame.y * texture.resolution, + width * texture.resolution, + height * texture.resolution, dx * renderer.resolution, dy * renderer.resolution, width * renderer.resolution,