summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2022-11-11 04:24:03 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2022-11-11 05:04:36 +0100
commit33ea0fdfe86c8529dddffc8763155df0a748311e (patch)
tree1785cb0f0b453d2a4bd2a57bff1b8b1be608d0c7 /src/video_core/renderer_opengl
parentir/texture_pass: Use host_info instead of querying Settings::values (#9176) (diff)
downloadyuzu-33ea0fdfe86c8529dddffc8763155df0a748311e.tar
yuzu-33ea0fdfe86c8529dddffc8763155df0a748311e.tar.gz
yuzu-33ea0fdfe86c8529dddffc8763155df0a748311e.tar.bz2
yuzu-33ea0fdfe86c8529dddffc8763155df0a748311e.tar.lz
yuzu-33ea0fdfe86c8529dddffc8763155df0a748311e.tar.xz
yuzu-33ea0fdfe86c8529dddffc8763155df0a748311e.tar.zst
yuzu-33ea0fdfe86c8529dddffc8763155df0a748311e.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index 8a8b5ce54..d05a5f60b 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -770,7 +770,7 @@ void RasterizerOpenGL::SyncStencilTestState() {
if (regs.stencil_two_side_enable) {
glStencilFuncSeparate(GL_BACK, MaxwellToGL::ComparisonOp(regs.stencil_back_op.func),
- regs.stencil_back_ref, regs.stencil_back_mask);
+ regs.stencil_back_ref, regs.stencil_back_func_mask);
glStencilOpSeparate(GL_BACK, MaxwellToGL::StencilOp(regs.stencil_back_op.fail),
MaxwellToGL::StencilOp(regs.stencil_back_op.zfail),
MaxwellToGL::StencilOp(regs.stencil_back_op.zpass));