summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-08-21 11:05:56 -0500
committerSubv <subv2112@gmail.com>2015-08-21 11:05:56 -0500
commit0c7da9b81530f399b082677899e9bffc3fcd8e2a (patch)
tree93b253cfa46402a96d639bed213bfb7bb069a18f /src
parent7c1f84a92b9727765a755c312e90b09b0cf6ed1d (diff)
HWRasterizer: Implemented stencil ops 6 and 7.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/pica_to_gl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/pica_to_gl.h b/src/video_core/renderer_opengl/pica_to_gl.h
index af5e66e88..12806fad5 100644
--- a/src/video_core/renderer_opengl/pica_to_gl.h
+++ b/src/video_core/renderer_opengl/pica_to_gl.h
@@ -159,7 +159,9 @@ inline GLenum StencilOp(Pica::Regs::StencilAction action) {
GL_REPLACE, // StencilAction::Replace
GL_INCR, // StencilAction::Increment
GL_DECR, // StencilAction::Decrement
- GL_INVERT // StencilAction::Invert
+ GL_INVERT, // StencilAction::Invert
+ GL_INCR_WRAP, // StencilAction::IncrementWrap
+ GL_DECR_WRAP // StencilAction::DecrementWrap
};
// Range check table for input