polygon-intersection: The edge direction is immaterial

When checking for continuations on the right-hand edge, the actual
direction of the edge is immaterial as it is sorted into ascending
y-order and the direction is fixed up when emitting into the output
polygon.

Fixes assertion introduced with 658fa75a5c.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-02-09 22:44:47 +00:00
parent bb86e332da
commit 2886df60b0

View file

@ -1183,7 +1183,6 @@ edges_start_or_continue (cairo_bo_edge_t *left,
/* continuation on right, extend right to cover both */
assert (old->deferred.other == NULL);
assert (old->edge.dir == right->edge.dir);
assert (old->edge.line.p2.y > old->edge.line.p1.y);
if (old->edge.line.p1.y < right->edge.line.p1.y)