diff options
Diffstat (limited to 'src/cairo-tests/multishape.cpp')
| -rw-r--r-- | src/cairo-tests/multishape.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-tests/multishape.cpp b/src/cairo-tests/multishape.cpp index 4422c7f..590edf2 100644 --- a/src/cairo-tests/multishape.cpp +++ b/src/cairo-tests/multishape.cpp @@ -6,6 +6,7 @@ #include <math.h> #include "caskbench.h" +#include "cairo-shapes.h" static int element_spacing; static int num_x_elements; @@ -55,7 +56,7 @@ ca_test_multishape(caskbench_context_t *ctx) for (i=0; i<num_x_elements; i++) { x = i * element_spacing; - randomize_color (cr); + cairoRandomizeColor(ctx); shape = (4.0 * rand())/RAND_MAX; switch (shape) { |