From: Søren Sandmann Pedersen Date: Sat, 29 Sep 2012 22:15:54 +0000 (-0400) Subject: rotate-test: Call image_endian_swap() in make_image() X-Git-Tag: pixman-0.27.4~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4b72eb6ccc1f004efedbc6552ee22499350be4d;p=platform%2Fupstream%2Fpixman.git rotate-test: Call image_endian_swap() in make_image() Otherwise the test fails on big-endian. Tested-by: Matt Turner --- 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; }