GS/HW: In double half clears, take larger bitdepth

This commit is contained in:
refractionpcsx2 2023-11-20 19:11:59 +00:00
parent bca4f15f9d
commit 7fcc47dd86
1 changed files with 1 additions and 1 deletions

View File

@ -5859,7 +5859,7 @@ bool GSRendererHW::DetectDoubleHalfClear(bool& no_rt, bool& no_ds)
ReplaceVerticesWithSprite(m_r, GSVector2i(1, 1));
// Prevent wasting time looking up and creating the target which is getting blown away.
if (!clear_depth)
if (frame_psm.trbpp >= zbuf_psm.trbpp)
{
SetNewFRAME(base * BLOCKS_PER_PAGE, m_cached_ctx.FRAME.FBW, m_cached_ctx.FRAME.PSM);
m_cached_ctx.ZBUF.ZMSK = true;