+ fix bench : iterate over clipped path
This commit is contained in:
parent
ec0bdb21ad
commit
c6a093f55a
1 changed files with 2 additions and 2 deletions
|
@ -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) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue