summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-08-21 17:59:49 +0200
committerSubv <subv2112@gmail.com>2015-08-21 17:59:49 +0200
commite43eb130d4852e396f77480b48a49811c6889bbd (patch)
tree78b449c49a4bcd5078ecf8546eec8b8666d14cef
parentSWRasterizer: Implemented stencil action 1 (GL_ZERO). (diff)
downloadyuzu-e43eb130d4852e396f77480b48a49811c6889bbd.tar
yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.tar.gz
yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.tar.bz2
yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.tar.lz
yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.tar.xz
yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.tar.zst
yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/pica_to_gl.h2
1 files changed, 1 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 a8f84a411..af5e66e88 100644
--- a/src/video_core/renderer_opengl/pica_to_gl.h
+++ b/src/video_core/renderer_opengl/pica_to_gl.h
@@ -155,7 +155,7 @@ inline GLenum CompareFunc(Pica::Regs::CompareFunc func) {
inline GLenum StencilOp(Pica::Regs::StencilAction action) {
static const GLenum stencil_op_table[] = {
GL_KEEP, // StencilAction::Keep
- GL_KEEP,
+ GL_ZERO, // StencilAction::Zero
GL_REPLACE, // StencilAction::Replace
GL_INCR, // StencilAction::Increment
GL_DECR, // StencilAction::Decrement