diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-03-04 15:51:18 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-03-07 14:08:00 -0500 |
commit | 84e361c8e357e26f299213fbeefe64c73447b116 (patch) | |
tree | a18f324eb2d75c7aa8ba2162cf28650191d1eb54 /test/composite-traps-test.c | |
parent | 84f3c5a71a2de1a96dcf0c7f9ab0a8ee1b1b158f (diff) |
test: Do endian swapping of the source and destination images.
Otherwise the test fails on big endian. Fix for bug 34767, reported by
Siarhei Siamashka.
Diffstat (limited to 'test/composite-traps-test.c')
-rw-r--r-- | test/composite-traps-test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/composite-traps-test.c b/test/composite-traps-test.c index 298537d..cf30281 100644 --- 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 */ |