mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Don't need this part any more
This commit is contained in:
parent
b3b12ae62c
commit
feb25f8d71
1 changed files with 1 additions and 12 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue