1
0
Fork 0
forked from suyu/suyu

HWRasterizer: Implemented stencil op 1 (GL_ZERO)

This commit is contained in:
Subv 2015-08-21 10:59:49 -05:00
parent fef1462371
commit e43eb130d4

View file

@ -155,7 +155,7 @@ inline GLenum CompareFunc(Pica::Regs::CompareFunc func) {
inline GLenum StencilOp(Pica::Regs::StencilAction action) { inline GLenum StencilOp(Pica::Regs::StencilAction action) {
static const GLenum stencil_op_table[] = { static const GLenum stencil_op_table[] = {
GL_KEEP, // StencilAction::Keep GL_KEEP, // StencilAction::Keep
GL_KEEP, GL_ZERO, // StencilAction::Zero
GL_REPLACE, // StencilAction::Replace GL_REPLACE, // StencilAction::Replace
GL_INCR, // StencilAction::Increment GL_INCR, // StencilAction::Increment
GL_DECR, // StencilAction::Decrement GL_DECR, // StencilAction::Decrement