fix a couple polygons (#1920)

hw prioritizes the earlier vertex instead of leftmost
This commit is contained in:
Jakly 2024-08-01 16:55:00 -04:00 committed by GitHub
parent 12be06beb6
commit 54e87c915f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1279,7 +1279,7 @@ void GPU3D::SubmitPolygon() noexcept
{
Vertex* vtx = poly->Vertices[i];
if (vtx->FinalPosition[1] < ytop || (vtx->FinalPosition[1] == ytop && vtx->FinalPosition[0] < xtop))
if (vtx->FinalPosition[1] < ytop)
{
xtop = vtx->FinalPosition[0];
ytop = vtx->FinalPosition[1];