mirror of https://github.com/PCSX2/pcsx2.git
GS/OGL: Fix depth state in MultiStretchRects
This commit is contained in:
parent
1cff63bc01
commit
82135d1892
|
@ -1634,7 +1634,7 @@ void GSDeviceOGL::DrawMultiStretchRects(
|
||||||
{
|
{
|
||||||
IASetVAO(m_vao);
|
IASetVAO(m_vao);
|
||||||
IASetPrimitiveTopology(GL_TRIANGLE_STRIP);
|
IASetPrimitiveTopology(GL_TRIANGLE_STRIP);
|
||||||
OMSetDepthStencilState(m_convert.dss);
|
OMSetDepthStencilState(HasDepthOutput(shader) ? m_convert.dss_write : m_convert.dss);
|
||||||
OMSetBlendState(false);
|
OMSetBlendState(false);
|
||||||
OMSetColorMaskState();
|
OMSetColorMaskState();
|
||||||
if (!dTex->IsDepthStencil())
|
if (!dTex->IsDepthStencil())
|
||||||
|
|
Loading…
Reference in New Issue