GS/DX11: Fix feedback write 1 null pointer crash.

We were using the wrong texture as the source, should be dTex when copying.
This commit is contained in:
lightningterror committed 2024-08-15 10:26:27 +02:00
1 parent c688db8f08
commit c076c50b68
1 file changed
+1 -1
+1 -1
View File
@@ -1603,7 +1603,7 @@ void GSDevice11::DoMerge(GSTexture* sTex[3], GSVector4* sRect, GSTexture* dTex,
if (feedback_write_1)
{
StretchRect(sTex[0], full_r, sTex[2], dRect[2], m_convert.ps[static_cast<int>(ShaderConvert::YUV)].get(),
StretchRect(dTex, full_r, sTex[2], dRect[2], m_convert.ps[static_cast<int>(ShaderConvert::YUV)].get(),
m_merge.cb.get(), nullptr, linear);
}
}