From a03a1d205821c45ec8e1cfe24cb326e0bbbed35f Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 5 Dec 2018 16:08:16 -0500 Subject: [PATCH] wip --- demo2/pathfinder.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo2/pathfinder.ts b/demo2/pathfinder.ts index ecc939d3..3ebde976 100644 --- a/demo2/pathfinder.ts +++ b/demo2/pathfinder.ts @@ -287,7 +287,7 @@ class App { gl.disable(gl.BLEND); // Read back stencil and dump it. - /*const totalStencilFramebufferSize = STENCIL_FRAMEBUFFER_SIZE.width * + const totalStencilFramebufferSize = STENCIL_FRAMEBUFFER_SIZE.width * STENCIL_FRAMEBUFFER_SIZE.height * 4; const stencilData = new Float32Array(totalStencilFramebufferSize); gl.readPixels(0, 0, @@ -312,7 +312,6 @@ class App { stencilDumpCanvasContext.putImageData(stencilDumpImageData, 0, 0); document.body.appendChild(stencilDumpCanvas); //console.log(stencilData); - */ // Draw opaque tiles. gl.bindFramebuffer(gl.FRAMEBUFFER, null);