diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-06-03 05:12:45 +0900 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-06-03 05:12:45 +0900 |
| commit | a2b340d2b72d61acc8f78d7eae5ca6d9cea5e5a7 (patch) | |
| tree | 777a4d0cdc62c2abe15ef2d8898a5058a79c6416 /src/cairo-tests/animation.cpp | |
| parent | 2da0666bc94117d6551e33bd4046794116bfedf9 (diff) | |
| parent | 2d78232b3619bf2704b27a5e85935430ec6d6bb7 (diff) | |
Merge pull request #74 from Samsung/Issue_69
Update radius properly in animation case.
ref: https://github.com/Samsung/caskbench/issues/69
Diffstat (limited to 'src/cairo-tests/animation.cpp')
| -rw-r--r-- | src/cairo-tests/animation.cpp | 2 |
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); } |