summaryrefslogtreecommitdiff
path: root/src/cairo-polygon-intersect.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-02-09 22:44:47 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-02-09 22:44:47 +0000
commit2886df60b040c6c8e7255a4385da5fb85531cbf3 (patch)
tree220741bd22cf6d469861122a1008dd2c844f39ef /src/cairo-polygon-intersect.c
parentbb86e332da9a7837b6fd6476efd9be77572dd706 (diff)
downloadcairo-2886df60b040c6c8e7255a4385da5fb85531cbf3.tar.gz
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 658fa75a5c78c8. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-polygon-intersect.c')
-rw-r--r--src/cairo-polygon-intersect.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cairo-polygon-intersect.c b/src/cairo-polygon-intersect.c
index 0e5b0b972..71d56d7af 100644
--- a/src/cairo-polygon-intersect.c
+++ b/src/cairo-polygon-intersect.c
@@ -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)