From 01f23c39e01d2c739fd8abc69aff9dbf13b46202 Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Fri, 1 Dec 2023 23:13:28 -0500 Subject: [PATCH] * src/raster/ftraster.c (Draw_Sweep): Swap stub conditions. --- src/raster/ftraster.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/raster/ftraster.c b/src/raster/ftraster.c index 043d2faf0..9410c40ac 100644 --- a/src/raster/ftraster.c +++ b/src/raster/ftraster.c @@ -2365,16 +2365,16 @@ if ( dropOutControl & 1 ) { - /* rightmost stub test */ - if ( P_Left->next == P_Right && - P_Left->height == 1 && + /* upper stub test */ + if ( P_Left->height == 1 && + P_Left->next == P_Right && !( P_Left->flags & Overshoot_Top && x2 - x1 >= ras.precision_half ) ) goto Next_Pair; - /* leftmost stub test */ - if ( P_Right->next == P_Left && - P_Left->offset == 0 && + /* lower stub test */ + if ( P_Left->offset == 0 && + P_Right->next == P_Left && !( P_Left->flags & Overshoot_Bottom && x2 - x1 >= ras.precision_half ) ) goto Next_Pair;