rotate-test: Call image_endian_swap() in make_image()

Otherwise the test fails on big-endian.

Tested-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Søren Sandmann Pedersen 2012-09-29 18:15:54 -04:00
parent aff796d6ce
commit d4b72eb6cc

View File

@ -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;
}