Fixed renderCanvas() call in Graphics.generateTexture().

Introduced by altering the signature of the Canvas renderers (c232642a).
This commit is contained in:
Chris Andrew 2018-04-05 19:08:54 +01:00
parent 0e401bb6fe
commit 9293891c82

View file

@ -1133,7 +1133,7 @@ var Graphics = new Class({
if (ctx)
{
this.renderCanvas(sys.game.renderer, this, 0, Graphics.TargetCamera, ctx);
this.renderCanvas(sys.game.renderer, this, 0.0, Graphics.TargetCamera, null, ctx);
if (sys.game.renderer.gl && texture)
{