summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-08-21 18:05:56 +0200
committerSubv <subv2112@gmail.com>2015-08-21 18:05:56 +0200
commit0c7da9b81530f399b082677899e9bffc3fcd8e2a (patch)
tree93b253cfa46402a96d639bed213bfb7bb069a18f /src/video_core
parentSWRasterizer: Implemented stencil ops 6 and 7. (diff)
downloadyuzu-0c7da9b81530f399b082677899e9bffc3fcd8e2a.tar
yuzu-0c7da9b81530f399b082677899e9bffc3fcd8e2a.tar.gz
yuzu-0c7da9b81530f399b082677899e9bffc3fcd8e2a.tar.bz2
yuzu-0c7da9b81530f399b082677899e9bffc3fcd8e2a.tar.lz
yuzu-0c7da9b81530f399b082677899e9bffc3fcd8e2a.tar.xz
yuzu-0c7da9b81530f399b082677899e9bffc3fcd8e2a.tar.zst
yuzu-0c7da9b81530f399b082677899e9bffc3fcd8e2a.zip
Diffstat (limited to 'src/video_core')
-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