oops my bad: rename

This commit is contained in:
Pete Baron 2016-07-22 00:12:56 +12:00
parent 7c2dae0773
commit 3faca89831

View file

@ -353,7 +353,7 @@ PIXI.Tilemap.prototype._renderWholeTilemap = function (renderSession) {
// 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.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
// and flip the GL y coordinate to be zero at the top