diff options
Diffstat (limited to 'perf/rectangles.c')
-rw-r--r-- | perf/rectangles.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perf/rectangles.c b/perf/rectangles.c index 374e3644..c224968f 100644 --- a/perf/rectangles.c +++ b/perf/rectangles.c @@ -96,6 +96,9 @@ rectangles (cairo_perf_t *perf, cairo_t *cr, int width, int height) { int i; + if (! cairo_perf_can_run (perf, "rectangles")) + return; + srand (8478232); for (i = 0; i < RECTANGLE_COUNT; i++) { |