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:
341be6a
)
Set accessors for the destination image in composite-test.c
author
Søren Sandmann
<sandmann@redhat.com>
Fri, 24 Aug 2007 20:49:29 +0000
(16:49 -0400)
committer
Søren Sandmann
<sandmann@redhat.com>
Fri, 24 Aug 2007 20:49:29 +0000
(16:49 -0400)
test/composite-test.c
patch
|
blob
|
history
diff --git
a/test/composite-test.c
b/test/composite-test.c
index
cee9609
..
d6596f4
100644
(file)
--- a/
test/composite-test.c
+++ b/
test/composite-test.c
@@
-122,13
+122,14
@@
main (int argc, char **argv)
src,
WIDTH * 4);
- pixman_image_set_accessors (src_img, reader, writer);
-
dest_img = pixman_image_create_bits (PIXMAN_a8r8g8b8,
WIDTH, HEIGHT,
dest,
WIDTH * 4);
+ pixman_image_set_accessors (src_img, reader, writer);
+ pixman_image_set_accessors (dest_img, reader, writer);
+
pixman_image_composite (PIXMAN_OP_OVER, src_img, NULL, dest_img,
0, 0, 0, 0, 0, 0, WIDTH, HEIGHT);