mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
Removed un-needed arguments
This commit is contained in:
parent
ed2eafb3b3
commit
e3c28d3cd9
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue