mirror of https://github.com/PCSX2/pcsx2.git
GS/OGL: Fix incorrect binding in multi stretch rect
This commit is contained in:
parent
b0d26c8242
commit
cc814585ee
|
@ -1286,7 +1286,10 @@ void GSDeviceOGL::DrawMultiStretchRects(
|
|||
OMSetDepthStencilState(m_convert.dss);
|
||||
OMSetBlendState(false);
|
||||
OMSetColorMaskState();
|
||||
if (!dTex->IsDepthStencil())
|
||||
OMSetRenderTargets(dTex, nullptr);
|
||||
else
|
||||
OMSetRenderTargets(nullptr, dTex);
|
||||
m_convert.ps[static_cast<int>(shader)].Bind();
|
||||
|
||||
const GSVector2 ds(static_cast<float>(dTex->GetWidth()), static_cast<float>(dTex->GetHeight()));
|
||||
|
|
Loading…
Reference in New Issue