* src/raster/ftraster.c (Draw_Sweep): Swap stub conditions.

This commit is contained in:
Alexei Podtelezhnikov 2023-12-01 23:13:28 -05:00
parent 5999d47d68
commit 01f23c39e0
1 changed files with 6 additions and 6 deletions

View File

@ -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;