diff --git a/libraries/libtess/Source/sweep.c b/libraries/libtess/Source/sweep.c index 32a56bf40..5fc1d97b7 100644 --- a/libraries/libtess/Source/sweep.c +++ b/libraries/libtess/Source/sweep.c @@ -493,7 +493,7 @@ static int CheckForRightSplice( TESStesselator *tess, ActiveRegion *regUp ) SpliceMergeVertices( tess, eLo->Oprev, eUp ); } } else { - if( EdgeSign( eUp->Dst, eLo->Org, eUp->Org ) <= 0 ) return FALSE; + if( EdgeSign( eUp->Dst, eLo->Org, eUp->Org ) < 0 ) return FALSE; /* eLo->Org appears to be above eUp, so splice eLo->Org into eUp */ RegionAbove(regUp)->dirty = regUp->dirty = TRUE;