Skip to content
This repository was archived by the owner on May 9, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MPE_fastpoly2tri.h
Original file line number Diff line number Diff line change
Expand Up @@ -1879,7 +1879,7 @@ void MPE_PolySort(MPEPolyPoint** Points, MPEPolyPoint** Temp, u32 Count)
MPEPolyPoint** ReadHalf1 = InHalf1;

//NOTE: Don't merge if two halves are already sorted
if (InHalf1[-1]->Y > InHalf1[0]->Y)
if (InHalf1[-1]->Y >= InHalf1[0]->Y)
{
MPEPolyPoint** Out = Temp;
for (u32 WriteIndex = 0; WriteIndex < Count; ++WriteIndex)
Expand Down