mirror of https://github.com/PCSX2/pcsx2.git
GS-HW: Round up rect for hardware draws
This commit is contained in:
parent
cb2fe3792a
commit
e67aa73e75
|
@ -1574,8 +1574,9 @@ void GSRendererHW::Draw()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// The rectangle of the draw
|
// The rectangle of the draw rounded up.
|
||||||
m_r = GSVector4i(m_vt.m_min.p.xyxy(m_vt.m_max.p)).rintersect(GSVector4i(context->scissor.in));
|
const GSVector4 rect = m_vt.m_min.p.xyxy(m_vt.m_max.p) + GSVector4(0.0f, 0.0f, 0.5f, 0.5f);
|
||||||
|
m_r = GSVector4i(rect).rintersect(GSVector4i(context->scissor.in));
|
||||||
|
|
||||||
if (m_channel_shuffle)
|
if (m_channel_shuffle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue