STENCIL_VALUE_UNKNOWN for DECR/INCR/INVERT

This commit is contained in:
raven02 committed 2013-12-08 22:19:13 +08:00
1 parent ed07a7f411
commit 59d3b92e71
1 file changed
-6
-6
View File
@@ -186,14 +186,8 @@ StencilValueType ReplaceAlphaWithStencilType() {
return STENCIL_VALUE_KEEP;
}
// Decrementing always zeros, since there's only one bit.
case GE_STENCILOP_DECR:
return STENCIL_VALUE_ZERO;
// Incrementing always fills, since there's only one bit.
case GE_STENCILOP_INCR:
return STENCIL_VALUE_ONE;
case GE_STENCILOP_INVERT:
return STENCIL_VALUE_UNKNOWN;