diff options
| author | 2015-08-21 10:59:49 -0500 | |
|---|---|---|
| committer | 2015-08-21 10:59:49 -0500 | |
| commit | e43eb130d4852e396f77480b48a49811c6889bbd (patch) | |
| tree | 78b449c49a4bcd5078ecf8546eec8b8666d14cef /src | |
| parent | SWRasterizer: Implemented stencil action 1 (GL_ZERO). (diff) | |
| download | yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.tar.gz yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.tar.xz yuzu-e43eb130d4852e396f77480b48a49811c6889bbd.zip | |
HWRasterizer: Implemented stencil op 1 (GL_ZERO)
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/pica_to_gl.h | 2 |
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) { | |||
| 155 | inline GLenum StencilOp(Pica::Regs::StencilAction action) { | 155 | inline GLenum StencilOp(Pica::Regs::StencilAction action) { |
| 156 | static const GLenum stencil_op_table[] = { | 156 | static const GLenum stencil_op_table[] = { |
| 157 | GL_KEEP, // StencilAction::Keep | 157 | GL_KEEP, // StencilAction::Keep |
| 158 | GL_KEEP, | 158 | GL_ZERO, // StencilAction::Zero |
| 159 | GL_REPLACE, // StencilAction::Replace | 159 | GL_REPLACE, // StencilAction::Replace |
| 160 | GL_INCR, // StencilAction::Increment | 160 | GL_INCR, // StencilAction::Increment |
| 161 | GL_DECR, // StencilAction::Decrement | 161 | GL_DECR, // StencilAction::Decrement |