Removed un-needed arguments

This commit is contained in:
Richard Davey 2018-04-23 17:28:37 +01:00
parent ed2eafb3b3
commit e3c28d3cd9
3 changed files with 3 additions and 3 deletions

View file

@ -1139,7 +1139,7 @@ var Graphics = new Class({
if (sys.game.renderer.gl && texture)
{
texture.source[0].glTexture = sys.game.renderer.canvasToTexture(ctx.canvas, texture.source[0].glTexture, true, 0);
texture.source[0].glTexture = sys.game.renderer.canvasToTexture(ctx.canvas, texture.source[0].glTexture);
}
}

View file

@ -30,7 +30,7 @@ var TextWebGLRenderer = function (renderer, src, interpolationPercentage, camera
if (src.dirty)
{
src.canvasTexture = renderer.canvasToTexture(src.canvas, src.canvasTexture, true, src.scaleMode);
src.canvasTexture = renderer.canvasToTexture(src.canvas, src.canvasTexture);
src.dirty = false;
}

View file

@ -248,7 +248,7 @@ var TileSprite = new Class({
this.potWidth, this.potHeight
);
this.tileTexture = this.renderer.canvasToTexture(this.canvasBuffer, this.tileTexture, (this.tileTexture === null), this.scaleMode);
this.tileTexture = this.renderer.canvasToTexture(this.canvasBuffer, this.tileTexture);
}
else
{