[Pixman] [PATCH 1/3] utils.c: fix fallback code for fence_image_create_bits()
Oded Gabbay
oded.gabbay at gmail.com
Tue Sep 8 07:00:16 PDT 2015
On Tue, Sep 8, 2015 at 10:27 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>
> 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 at collabora.co.uk>
> ---
> test/utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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.
> */
> --
> 2.4.6
>
> _______________________________________________
> Pixman mailing list
> Pixman at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pixman
Reviewed-by: Oded Gabbay <oded.gabbay at gmail.com>
More information about the Pixman
mailing list