summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-09-08 09:20:46 +0300
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-09-09 11:29:44 +0300
commit82f8c997dfd3f60a48134107ecf38663b464bdc9 (patch)
treea2751d2a944e81b8b8536079c319aa9d8025fb24
parent07006853828a59b5e0cd7d7d058d03db4e23e6ec (diff)
utils.c: fix fallback code for fence_image_create_bits()
Used a wrong variable name, causing: /home/pq/git/pixman/demos/../test/utils.c: In function ‘fence_image_create_bits’: /home/pq/git/pixman/demos/../test/utils.c:562:46: error: ‘width’ undeclared (first use in this function) Use the correct variable. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Reviewed-by: Ben Avison <bavison@riscosopen.org>
-rw-r--r--test/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils.c b/test/utils.c
index 783b97a..9089ffc 100644
--- a/test/utils.c
+++ b/test/utils.c
@@ -559,7 +559,7 @@ fence_image_create_bits (pixman_format_code_t format,
int height,
pixman_bool_t stride_fence)
{
- return pixman_image_create_bits (format, width, height, NULL, 0);
+ return pixman_image_create_bits (format, min_width, height, NULL, 0);
/* Implicitly allocated storage does not need a destroy function
* to get freed on refcount hitting zero.
*/