This commit is contained in:
Amy Bowersox 2019-12-10 13:43:30 -07:00
parent ddc005ed8b
commit 48415ab947
1 changed files with 2 additions and 2 deletions

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);
if ((outcode1 & outcode2) != 0)
{
Log.debug("*REJECT*");
Log(LDEBUG,"*REJECT*");
return FALSE; /* trivial rejection */
}
else if ((outcode1 == 0) && (outcode2 == 0))
{
Log.debug("*ACCEPT*");
Log(LDEBUG,"*ACCEPT*");
break; /* trivial acceptance */
}
if (outcode1 == 0)