Fix build error

This commit is contained in:
Daniel Imms
2019-01-02 15:09:38 -08:00
parent 408388130d
commit b0e51b9ec9
+1 -1
View File
@@ -345,7 +345,7 @@ export class GlyphRenderer {
gl.uniform2f(this._resolutionLocation, gl.canvas.width, gl.canvas.height);
// Draw the viewport
gl.drawElementsInstanced(gl.TRIANGLES, 6, gl.UNSIGNED_BYTE, 0, buffer.length / INDICES_PER_CELL);
gl.drawElementsInstanced(gl.TRIANGLES, 6, gl.UNSIGNED_BYTE, 0, bufferLength / INDICES_PER_CELL);
}
public setAtlas(atlas: WebglCharAtlas): void {