mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Clear draw list when replacing with single sprite
This commit is contained in:
parent
9d69a0ad54
commit
9c9bae7443
pcsx2/GS/Renderers/HW
|
@ -6719,6 +6719,9 @@ void GSRendererHW::ReplaceVerticesWithSprite(const GSVector4i& unscaled_rect, co
|
||||||
m_r = unscaled_rect;
|
m_r = unscaled_rect;
|
||||||
m_context->scissor.in = scissor;
|
m_context->scissor.in = scissor;
|
||||||
m_vt.m_primclass = GS_SPRITE_CLASS;
|
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)
|
void GSRendererHW::ReplaceVerticesWithSprite(const GSVector4i& unscaled_rect, const GSVector2i& unscaled_size)
|
||||||
|
|
Loading…
Reference in New Issue