X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Fstroke.c;h=b9ccb107380d003285c31a03fcbdde528e519f90;hp=9735c1be601a4c548fb1ea4082738772afe445ac;hb=eac1308d474f42fb9a7f8c89b1a02ff63c7c60e2;hpb=7512d30cebc1989f52225728d2541dbb82df49ea diff --git a/lib/gfxpoly/stroke.c b/lib/gfxpoly/stroke.c index 9735c1b..b9ccb10 100644 --- a/lib/gfxpoly/stroke.c +++ b/lib/gfxpoly/stroke.c @@ -225,7 +225,7 @@ gfxpoly_t* gfxpoly_from_stroke(gfxline_t*line, gfxcoord_t width, gfx_capType cap gfxdrawer_target_poly(&d, gridsize); draw_stroke(line, &d, width, cap_style, joint_style, miterLimit); gfxpoly_t*poly = (gfxpoly_t*)d.result(&d); - assert(gfxpoly_check(poly)); + assert(gfxpoly_check(poly, 1)); gfxpoly_t*poly2 = gfxpoly_process(poly, 0, &windrule_circular, &onepolygon); gfxpoly_destroy(poly); return poly2;