summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti S. Lankila <alankila@bel.fi>2012-07-28 14:02:42 +0300
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-07-29 11:01:11 -0400
commit1dcca0f7ae64e9a96f2feba85dd728c636744009 (patch)
tree75f207c436b96bc747e6d4eff6303f82c0d0174c
parent56321eff65832791252c7c324930d14c44d4d5f7 (diff)
Remove unnecessary dst initialization
The initialization work is already performed correctly in image_init().
-rw-r--r--test/composite.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/composite.c b/test/composite.c
index bdecd75..81c416e 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)
{