mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +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,8 +203,6 @@ 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);
|
gl.stencilFunc(gl.NOTEQUAL, level, mask);
|
||||||
|
@ -213,15 +211,6 @@ var GeometryMask = new Class({
|
||||||
{
|
{
|
||||||
gl.stencilFunc(gl.EQUAL, level, mask);
|
gl.stencilFunc(gl.EQUAL, level, mask);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
else if (this.invertAlpha)
|
|
||||||
{
|
|
||||||
gl.stencilFunc(gl.NOTEQUAL, level, mask);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
gl.stencilFunc(gl.EQUAL, level, mask);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue