summaryrefslogtreecommitdiff
path: root/perf/zrusin.c
diff options
context:
space:
mode:
Diffstat (limited to 'perf/zrusin.c')
-rw-r--r--perf/zrusin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/perf/zrusin.c b/perf/zrusin.c
index 68407751..21956159 100644
--- a/perf/zrusin.c
+++ b/perf/zrusin.c
@@ -85,6 +85,9 @@ zrusin_another_fill (cairo_t *cr, int width, int height)
void
zrusin (cairo_perf_t *perf, cairo_t *cr, int width, int height)
{
+ if (! cairo_perf_can_run (perf, "zrusin"))
+ return;
+
cairo_perf_run (perf, "zrusin_another_tessellate", zrusin_another_tessellate);
cairo_perf_run (perf, "zrusin_another_fill", zrusin_another_fill);
}