GS/HW: Adjust SpriteNoGaps check for vertical strips

This commit is contained in:
refractionpcsx2 authored and lightningterror committed 2025-05-31 03:25:47 +02:00
1 parent 697c53b4d8
commit d05e4b9727
1 file changed
+2 -1
+2 -1
View File
@@ -3140,7 +3140,8 @@ bool GSState::SpriteDrawWithoutGaps()
}
else
{
if ((std::abs(dpX - first_dpX) >= 16 && (i + 2) < m_vertex.next) || std::abs(this_start_X - last_pX) >= 16)
const int dpY = v[i + 1].XYZ.Y - v[i].XYZ.Y;
if ((std::abs(dpY - first_dpY) >= 16 && (i + 2) < m_vertex.next) || std::abs(this_start_X - last_pX) >= 16)
return false;
}
}