summaryrefslogtreecommitdiff
path: root/src/cairo-path-stroke-traps.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-traps.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-traps.c')
-rw-r--r--src/cairo-path-stroke-traps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cairo-path-stroke-traps.c b/src/cairo-path-stroke-traps.c
index aad9c7f5a..da54e5a35 100644
--- a/src/cairo-path-stroke-traps.c
+++ b/src/cairo-path-stroke-traps.c
@@ -146,7 +146,6 @@ stroker_init (struct stroker *stroker,
_cairo_stroke_style_max_line_distance_from_path (stroker->style, path,
stroker->ctm, &dx, &dy);
- /* XXX check overflow */
fdx = _cairo_fixed_from_double (dx);
fdy = _cairo_fixed_from_double (dy);