diff --git a/src/gameobjects/rendertexture/RenderTextureCanvas.js b/src/gameobjects/rendertexture/RenderTextureCanvas.js index 90b8f5a0e..36f2a43ff 100644 --- a/src/gameobjects/rendertexture/RenderTextureCanvas.js +++ b/src/gameobjects/rendertexture/RenderTextureCanvas.js @@ -13,7 +13,10 @@ var RenderTextureCanvas = { clear: function () { + this.context.save(); + this.context.setTransform(1, 0, 0, 1, 0, 0); this.context.clearRect(0, 0, this.canvas.width, this.canvas.height); + this.context.restore(); return this; },