summaryrefslogtreecommitdiff
path: root/src/cairo-path-stroke-polygon.c
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2017-05-13 09:37:34 +0200
committerUli Schlachter <psychon@znc.in>2017-05-13 09:37:34 +0200
commit9d44136ef8e2a1ad2c6631beb4bbdaeed7a2dad8 (patch)
treea10d24c1ad3eaa9716b0619ee566878df6dff500 /src/cairo-path-stroke-polygon.c
parent91b25005d62fe4ca178f45d349374e42c29a5e11 (diff)
downloadcairo-9d44136ef8e2a1ad2c6631beb4bbdaeed7a2dad8.tar.gz
Revert "stroker: Check for scaling overflow in computing half line widths"
This reverts commit 91b25005d62fe4ca178f45d349374e42c29a5e11 because it causes lots of new crashes due to assertion failures.
Diffstat (limited to 'src/cairo-path-stroke-polygon.c')
-rw-r--r--src/cairo-path-stroke-polygon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cairo-path-stroke-polygon.c b/src/cairo-path-stroke-polygon.c
index a68feb62c..e5082bbec 100644
--- a/src/cairo-path-stroke-polygon.c
+++ b/src/cairo-path-stroke-polygon.c
@@ -1276,7 +1276,6 @@ _cairo_path_fixed_stroke_to_polygon (const cairo_path_fixed_t *path,
for (i = 1; i < polygon->num_limits; i++)
_cairo_box_add_box (&stroker.bounds, &polygon->limits[i]);
- /* XXX check overflow */
_cairo_stroke_style_max_distance_from_path (style, path, ctm, &dx, &dy);
fdx = _cairo_fixed_from_double (dx);
fdy = _cairo_fixed_from_double (dy);