diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-09-29 18:15:54 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-09-29 18:15:54 -0400 |
commit | d4b72eb6ccc1f004efedbc6552ee22499350be4d (patch) | |
tree | a4d6e452cccf67826b51e5a4c11cce5326811ff9 | |
parent | aff796d6cee4cb81f0352c2f7d0c994229bd5ca1 (diff) | |
download | pixman-d4b72eb6ccc1f004efedbc6552ee22499350be4d.tar.gz |
rotate-test: Call image_endian_swap() in make_image()
Otherwise the test fails on big-endian.
Tested-by: Matt Turner <mattst88@gmail.com>
-rw-r--r-- | test/rotate-test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/rotate-test.c b/test/rotate-test.c index bc44281..d63a289 100644 --- a/test/rotate-test.c +++ b/test/rotate-test.c @@ -74,7 +74,9 @@ make_image (void) pixman_image_set_transform (image, RANDOM_TRANSFORM()); pixman_image_set_destroy_function (image, on_destroy, bytes); pixman_image_set_repeat (image, PIXMAN_REPEAT_NORMAL); - + + image_endian_swap (image); + return image; } |