mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-18 18:10:38 +01:00
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:
parent
bb86e332da
commit
2886df60b0
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue