mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Fixed legacy interpolation parameters
This commit is contained in:
parent
232f8e0ebc
commit
c6f533b872
2 changed files with 6 additions and 6 deletions
|
@ -182,7 +182,7 @@ var GeometryMask = new Class({
|
||||||
}
|
}
|
||||||
|
|
||||||
// Write stencil buffer
|
// Write stencil buffer
|
||||||
geometryMask.renderWebGL(renderer, geometryMask, 0, camera);
|
geometryMask.renderWebGL(renderer, geometryMask, camera);
|
||||||
|
|
||||||
renderer.flush();
|
renderer.flush();
|
||||||
|
|
||||||
|
@ -272,7 +272,7 @@ var GeometryMask = new Class({
|
||||||
|
|
||||||
renderer.currentContext.save();
|
renderer.currentContext.save();
|
||||||
|
|
||||||
geometryMask.renderCanvas(renderer, geometryMask, 0, camera, null, null, true);
|
geometryMask.renderCanvas(renderer, geometryMask, camera, null, null, true);
|
||||||
|
|
||||||
renderer.currentContext.clip();
|
renderer.currentContext.clip();
|
||||||
},
|
},
|
||||||
|
|
|
@ -1019,7 +1019,7 @@ var RenderTexture = new Class({
|
||||||
|
|
||||||
gameObject.setPosition(x + this.frame.cutX, y + this.frame.cutY);
|
gameObject.setPosition(x + this.frame.cutX, y + this.frame.cutY);
|
||||||
|
|
||||||
gameObject.renderWebGL(this.renderer, gameObject, 0, this.camera, null);
|
gameObject.renderWebGL(this.renderer, gameObject, this.camera);
|
||||||
|
|
||||||
gameObject.setPosition(prevX, prevY);
|
gameObject.setPosition(prevX, prevY);
|
||||||
},
|
},
|
||||||
|
@ -1052,7 +1052,7 @@ var RenderTexture = new Class({
|
||||||
|
|
||||||
gameObject.setPosition(x + this.frame.cutX, y + this.frame.cutY);
|
gameObject.setPosition(x + this.frame.cutX, y + this.frame.cutY);
|
||||||
|
|
||||||
gameObject.renderCanvas(this.renderer, gameObject, 0, this.camera, null);
|
gameObject.renderCanvas(this.renderer, gameObject, this.camera, null);
|
||||||
|
|
||||||
gameObject.setPosition(prevX, prevY);
|
gameObject.setPosition(prevX, prevY);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue