Skip to content

Commit

Permalink
GS/DX11: Fix feedback write 1 null pointer crash.
Browse files Browse the repository at this point in the history
We were using the wrong texture as the source, should be dTex when copying.
  • Loading branch information
lightningterror committed Aug 15, 2024
1 parent c688db8 commit c076c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2/GS/Renderers/DX11/GSDevice11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit c076c50

Please sign in to comment.