projects
/
platform
/
upstream
/
pixman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56321ef
)
Remove unnecessary dst initialization
author
Antti S. Lankila
<alankila@bel.fi>
Sat, 28 Jul 2012 11:02:42 +0000
(14:02 +0300)
committer
Søren Sandmann Pedersen
<ssp@redhat.com>
Sun, 29 Jul 2012 15:01:11 +0000
(11:01 -0400)
The initialization work is already performed correctly in image_init().
test/composite.c
patch
|
blob
|
history
diff --git
a/test/composite.c
b/test/composite.c
index
bdecd75
..
81c416e
100644
(file)
--- 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)
{