diff --git a/src/pixi/display/DisplayObject.js b/src/pixi/display/DisplayObject.js index 78ec4ea..9ca2577 100644 --- a/src/pixi/display/DisplayObject.js +++ b/src/pixi/display/DisplayObject.js @@ -567,7 +567,11 @@ var bounds = this.getLocalBounds(); var renderTexture = new PIXI.RenderTexture(bounds.width | 0, bounds.height | 0, renderer, scaleMode, resolution); - renderTexture.render(this, new PIXI.Point(-bounds.x, -bounds.y) ); + + PIXI.DisplayObject._tempMatrix.tx = -bounds.x; + PIXI.DisplayObject._tempMatrix.ty = -bounds.y; + + renderTexture.render(this, PIXI.DisplayObject._tempMatrix); return renderTexture; };