again...
This commit is contained in:
parent
ddc005ed8b
commit
48415ab947
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user