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:
aff796d
)
rotate-test: Call image_endian_swap() in make_image()
author
Søren Sandmann Pedersen
<ssp@redhat.com>
Sat, 29 Sep 2012 22:15:54 +0000
(18:15 -0400)
committer
Søren Sandmann Pedersen
<ssp@redhat.com>
Sat, 29 Sep 2012 22:15:54 +0000
(18:15 -0400)
Otherwise the test fails on big-endian.
Tested-by: Matt Turner <mattst88@gmail.com>
test/rotate-test.c
patch
|
blob
|
history
diff --git
a/test/rotate-test.c
b/test/rotate-test.c
index
bc44281
..
d63a289
100644
(file)
--- 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;
}