diff options
author | Antti S. Lankila <alankila@bel.fi> | 2012-07-28 14:02:42 +0300 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-07-29 11:01:11 -0400 |
commit | 1dcca0f7ae64e9a96f2feba85dd728c636744009 (patch) | |
tree | 75f207c436b96bc747e6d4eff6303f82c0d0174c | |
parent | 56321eff65832791252c7c324930d14c44d4d5f7 (diff) |
Remove unnecessary dst initialization
The initialization work is already performed correctly in image_init().
-rw-r--r-- | test/composite.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/composite.c b/test/composite.c index bdecd75a..81c416e2 100644 --- a/test/composite.c +++ b/test/composite.c @@ -524,17 +524,8 @@ composite_test (image_t *dst, pixman_bool_t component_alpha, int testno) { - pixman_color_t fill; color_t expected, tdst, tsrc, tmsk; pixel_checker_t checker; - pixman_image_t *solid; - - /* Initialize dst */ - compute_pixman_color (dst->color, &fill); - solid = pixman_image_create_solid_fill (&fill); - pixman_image_composite32 (PIXMAN_OP_SRC, solid, NULL, dst->image, - 0, 0, 0, 0, 0, 0, dst->size, dst->size); - pixman_image_unref (solid); if (mask) { |