+ fix bench : iterate over clipped path

This commit is contained in:
artemp 2013-09-16 15:02:58 +01:00
parent ec0bdb21ad
commit c6a093f55a

View file

@ -549,7 +549,7 @@ struct test11
clipped.rewind(0);
unsigned cmd;
double x,y;
while ((cmd = geom.vertex(&x, &y)) != SEG_END) {}
while ((cmd = clipped.vertex(&x, &y)) != SEG_END) {}
}
}
}
@ -594,7 +594,7 @@ struct test12
poly_clipper clipped(extent_, geom);
unsigned cmd;
double x,y;
while ((cmd = geom.vertex(&x, &y)) != SEG_END) {}
while ((cmd = clipped.vertex(&x, &y)) != SEG_END) {}
}
}
}