

wtu.checkCanvasRect(gl, 0, 0, 1, 1, [ 0, 255, 0, 255 ]);

// Reset
gl.disable(gl.DEPTH_TEST);

// -

debug('\nRender, no-op resize, then stencil-fail render.');

gl.enable(gl.STENCIL_TEST);
gl.stencilOp(gl.KEEP, gl.KEEP, gl.INCR);
gl.stencilFunc(gl.EQUAL, 0, 0xff);
gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT | gl.STENCIL_BUFFER_BIT);
gl.uniform4fv(colorLocation, [0.0, 1.0, 0.0, 1.0]);
wtu.drawUnitQuad(gl);

gl.canvas.width = gl.canvas.width;
gl.uniform4fv(colorLocation, [0.0, 0.0, 1.0, 1.0]);
wtu.d