mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
oops my bad: rename
This commit is contained in:
parent
7c2dae0773
commit
3faca89831
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ PIXI.Tilemap.prototype._renderWholeTilemap = function (renderSession) {
|
||||||
// set the clipping limits
|
// set the clipping limits
|
||||||
gl.uniform2f(shader.uClipOffset, this.offset.x / this.game.width * 2, this.offset.y / this.game.height * 2);
|
gl.uniform2f(shader.uClipOffset, this.offset.x / this.game.width * 2, this.offset.y / this.game.height * 2);
|
||||||
gl.uniform2f(shader.uClipLoc, this.offset.x, this.offset.y);
|
gl.uniform2f(shader.uClipLoc, this.offset.x, this.offset.y);
|
||||||
gl.uniform2f(shader.uClipping, this.displayWidth, this.game.height - this.displayHeight);
|
gl.uniform2f(shader.uClipLimit, this.displayWidth, this.game.height - this.displayHeight);
|
||||||
|
|
||||||
// set the offset in screen units to the center of the screen
|
// set the offset in screen units to the center of the screen
|
||||||
// and flip the GL y coordinate to be zero at the top
|
// and flip the GL y coordinate to be zero at the top
|
||||||
|
|
Loading…
Reference in a new issue