This commit is contained in:
Amy Bowersox 2019-12-10 13:43:30 -07:00
parent ddc005ed8b
commit 48415ab947

View File

@ -34,12 +34,12 @@ static BOOL line_clip(PINT32 output, INT32 x1, INT32 y1, INT32 x2, INT32 y2, INT
outcode2 = line_clip_outcode(x2, y2, xmin, ymin, xmax, ymax); outcode2 = line_clip_outcode(x2, y2, xmin, ymin, xmax, ymax);
if ((outcode1 & outcode2) != 0) if ((outcode1 & outcode2) != 0)
{ {
Log.debug("*REJECT*"); Log(LDEBUG,"*REJECT*");
return FALSE; /* trivial rejection */ return FALSE; /* trivial rejection */
} }
else if ((outcode1 == 0) && (outcode2 == 0)) else if ((outcode1 == 0) && (outcode2 == 0))
{ {
Log.debug("*ACCEPT*"); Log(LDEBUG,"*ACCEPT*");
break; /* trivial acceptance */ break; /* trivial acceptance */
} }
if (outcode1 == 0) if (outcode1 == 0)