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:
84f3c5a
)
test: Do endian swapping of the source and destination images.
author
Søren Sandmann Pedersen
<ssp@redhat.com>
Fri, 4 Mar 2011 20:51:18 +0000
(15:51 -0500)
committer
Søren Sandmann Pedersen
<ssp@redhat.com>
Mon, 7 Mar 2011 19:08:00 +0000
(14:08 -0500)
Otherwise the test fails on big endian. Fix for bug 34767, reported by
Siarhei Siamashka.
test/composite-traps-test.c
patch
|
blob
|
history
diff --git
a/test/composite-traps-test.c
b/test/composite-traps-test.c
index
298537d
..
cf30281
100644
(file)
--- a/
test/composite-traps-test.c
+++ b/
test/composite-traps-test.c
@@
-139,6
+139,8
@@
test_composite (int testnum,
pixman_image_set_source_clipping (src_img, 1);
pixman_region_fini (&clip);
}
+
+ image_endian_swap (src_img);
}
/* Create destination image */
@@
-157,6
+159,8
@@
test_composite (int testnum,
dst_img = pixman_image_create_bits (
dst_format, dst_width, dst_height, dst_bits, dst_stride);
+
+ image_endian_swap (dst_img);
}
/* Create traps */