GS/OGL: Fix depth state in MultiStretchRects

This commit is contained in:
Stenzek 2023-07-28 01:30:25 +01:00 committed by refractionpcsx2
parent 1cff63bc01
commit 82135d1892
1 changed files with 1 additions and 1 deletions

View File

@ -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())