mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 12:45:05 +01:00
HWRasterizer: Implemented stencil op 1 (GL_ZERO)
This commit is contained in:
parent
fef1462371
commit
e43eb130d4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user