summaryrefslogtreecommitdiffstatsci
path: root/src/cairo-tests/animation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cairo-tests/animation.cpp')
-rw-r--r--src/cairo-tests/animation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cairo-tests/animation.cpp b/src/cairo-tests/animation.cpp
index 15f61c3..5fa4257 100644
--- a/src/cairo-tests/animation.cpp
+++ b/src/cairo-tests/animation.cpp
@@ -57,6 +57,8 @@ ca_test_animation(caskbench_context_t *ctx)
shape.height = particle->height;
shape.x = particle->x;
shape.y = particle->y;
+ if (!shape.radius)
+ shape.radius = 40;
cairoDrawRandomizedShape(ctx, &shape);
}