diff --git a/src/extras/TilingSprite.js b/src/extras/TilingSprite.js index 91a2c25..517393c 100644 --- a/src/extras/TilingSprite.js +++ b/src/extras/TilingSprite.js @@ -238,7 +238,7 @@ if(!this._canvasPattern) { // cut an object from a spritesheet.. - var tempCanvas = new core.CanvasBuffer(texture._frame.width, texture._frame.height); + var tempCanvas = new core.CanvasBuffer(texture._frame.width * resolution, texture._frame.height * resolution); // Tint the tiling sprite if (this.tint !== 0xFFFFFF)