summaryrefslogtreecommitdiff
path: root/test/utils.h
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2011-03-07 13:45:54 -0500
committerSøren Sandmann Pedersen <ssp@redhat.com>2011-03-07 14:07:44 -0500
commit84f3c5a71a2de1a96dcf0c7f9ab0a8ee1b1b158f (patch)
treed05db8f6002a97f08e8185b5fe45e67769c092c7 /test/utils.h
parent17feaa9c50bb8521b0366345efe181bd99754957 (diff)
test: In image_endian_swap() use pixman_image_get_format() to get the bpp.
There is no reason to pass in the bpp as an argument; it can be gotten directly from the image.
Diffstat (limited to 'test/utils.h')
-rw-r--r--test/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils.h b/test/utils.h
index 9c7bdb1..a5183f7 100644
--- a/test/utils.h
+++ b/test/utils.h
@@ -60,7 +60,7 @@ compute_crc32 (uint32_t in_crc32,
/* perform endian conversion of pixel data
*/
void
-image_endian_swap (pixman_image_t *img, int bpp);
+image_endian_swap (pixman_image_t *img);
/* Allocate memory that is bounded by protected pages,
* so that out-of-bounds access will cause segfaults