Don't need this part any more

This commit is contained in:
Richard Davey 2023-03-16 18:23:01 +00:00
parent b3b12ae62c
commit feb25f8d71

View file

@ -203,18 +203,7 @@ var GeometryMask = new Class({
gl.stencilOp(gl.KEEP, gl.KEEP, gl.KEEP); gl.stencilOp(gl.KEEP, gl.KEEP, gl.KEEP);
if (inc) if (this.invertAlpha)
{
if (this.invertAlpha)
{
gl.stencilFunc(gl.NOTEQUAL, level, mask);
}
else
{
gl.stencilFunc(gl.EQUAL, level, mask);
}
}
else if (this.invertAlpha)
{ {
gl.stencilFunc(gl.NOTEQUAL, level, mask); gl.stencilFunc(gl.NOTEQUAL, level, mask);
} }