summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-08-21 10:59:49 -0500
committerSubv <subv2112@gmail.com>2015-08-21 10:59:49 -0500
commite43eb130d4852e396f77480b48a49811c6889bbd (patch)
tree78b449c49a4bcd5078ecf8546eec8b8666d14cef
parentfef1462371b51fb5540817b76d30630868b2a961 (diff)
HWRasterizer: Implemented stencil op 1 (GL_ZERO)
-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