We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9585a1c commit be81ddfCopy full SHA for be81ddf
1 file changed
src/gameobjects/rendertexture/RenderTextureCanvas.js
@@ -13,7 +13,10 @@ var RenderTextureCanvas = {
13
14
clear: function ()
15
{
16
+ this.context.save();
17
+ this.context.setTransform(1, 0, 0, 1, 0, 0);
18
this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);
19
+ this.context.restore();
20
return this;
21
},
22
0 commit comments