fix bugs with line polygons

This commit is contained in:
Arisotura
2019-06-12 13:14:11 +02:00
parent 886bf6bc10
commit 34c60eaca4
2 changed files with 22 additions and 16 deletions

View File

@ -582,7 +582,10 @@ void BuildPolygons(RendererPolygon* polygons, int npolys)
y = vtx->FinalPosition[1];
}
if (lastx == x && lasty == y) continue;
if (j > 0)
{
if (lastx == x && lasty == y) continue;
}
*vptr++ = x | (y << 16);
*vptr++ = z | (w << 16);