diff options
author | Subv <subv2112@gmail.com> | 2016-11-27 18:30:03 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-11-27 19:09:11 +0100 |
commit | 46234150263c105bb6d1fbcbd45b8c324d108a99 (patch) | |
tree | b8952ee6c0ab6b8ef94fe2bbd32285554d60ca59 /src/video_core/renderer_opengl/gl_state.cpp | |
parent | Rasterizer/Memfill: Set the correct stencil write mask when clearing the stencil buffer. (diff) | |
download | yuzu-46234150263c105bb6d1fbcbd45b8c324d108a99.tar yuzu-46234150263c105bb6d1fbcbd45b8c324d108a99.tar.gz yuzu-46234150263c105bb6d1fbcbd45b8c324d108a99.tar.bz2 yuzu-46234150263c105bb6d1fbcbd45b8c324d108a99.tar.lz yuzu-46234150263c105bb6d1fbcbd45b8c324d108a99.tar.xz yuzu-46234150263c105bb6d1fbcbd45b8c324d108a99.tar.zst yuzu-46234150263c105bb6d1fbcbd45b8c324d108a99.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.cpp b/src/video_core/renderer_opengl/gl_state.cpp index ed84cadea..2a731f483 100644 --- a/src/video_core/renderer_opengl/gl_state.cpp +++ b/src/video_core/renderer_opengl/gl_state.cpp @@ -27,8 +27,8 @@ OpenGLState::OpenGLState() { stencil.test_enabled = false; stencil.test_func = GL_ALWAYS; stencil.test_ref = 0; - stencil.test_mask = -1; - stencil.write_mask = -1; + stencil.test_mask = 0xFF; + stencil.write_mask = 0xFF; stencil.action_depth_fail = GL_KEEP; stencil.action_depth_pass = GL_KEEP; stencil.action_stencil_fail = GL_KEEP; |