Skip to content

Commit

Permalink
GS/HW: Clear draw list when replacing with single sprite
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed Feb 1, 2024
1 parent 9d69a0a commit 9c9bae7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pcsx2/GS/Renderers/HW/GSRendererHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6719,6 +6719,9 @@ void GSRendererHW::ReplaceVerticesWithSprite(const GSVector4i& unscaled_rect, co
m_r = unscaled_rect;
m_context->scissor.in = scissor;
m_vt.m_primclass = GS_SPRITE_CLASS;

m_drawlist.clear();
m_prim_overlap = PRIM_OVERLAP_NO;
}

void GSRendererHW::ReplaceVerticesWithSprite(const GSVector4i& unscaled_rect, const GSVector2i& unscaled_size)
Expand Down

0 comments on commit 9c9bae7

Please sign in to comment.