mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 13:27:41 -07:00
fix a couple polygons (#1920)
hw prioritizes the earlier vertex instead of leftmost
This commit is contained in:
parent
12be06beb6
commit
54e87c915f
@ -1279,7 +1279,7 @@ void GPU3D::SubmitPolygon() noexcept
|
|||||||
{
|
{
|
||||||
Vertex* vtx = poly->Vertices[i];
|
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];
|
xtop = vtx->FinalPosition[0];
|
||||||
ytop = vtx->FinalPosition[1];
|
ytop = vtx->FinalPosition[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user