From 82135d1892723905c8bf875c25304a96d6bc08aa Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 28 Jul 2023 01:30:25 +0100 Subject: [PATCH] GS/OGL: Fix depth state in MultiStretchRects --- pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp b/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp index 328ab33d18..32c7d7280a 100644 --- a/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp +++ b/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp @@ -1634,7 +1634,7 @@ void GSDeviceOGL::DrawMultiStretchRects( { IASetVAO(m_vao); IASetPrimitiveTopology(GL_TRIANGLE_STRIP); - OMSetDepthStencilState(m_convert.dss); + OMSetDepthStencilState(HasDepthOutput(shader) ? m_convert.dss_write : m_convert.dss); OMSetBlendState(false); OMSetColorMaskState(); if (!dTex->IsDepthStencil())