Re: [spice-gtk PATCH 3/4 v4] ppc: Fix colors on ppc when using GLZ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx>

Pavel

On Thu, 2015-12-17 at 16:50 +0100, Lukas Venhoda wrote:
> Fixes color order on PowerPC when using GLZ image compression.
> ---
> Changes since v3:
>  - No changes
> ---
>  src/decode-glz.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/decode-glz.c b/src/decode-glz.c
> index 34a7185..a5fb6c1 100644
> --- a/src/decode-glz.c
> +++ b/src/decode-glz.c
> @@ -55,7 +55,7 @@ static struct glz_image *glz_image_new(struct
> glz_image_hdr *hdr,
>      img = g_new0(struct glz_image, 1);
>      img->hdr = *hdr;
>      img->surface = alloc_lz_image_surface
> -        (opaque, type == LZ_IMAGE_TYPE_RGBA ? PIXMAN_a8r8g8b8 :
> PIXMAN_x8r8g8b8,
> +        (opaque, type == LZ_IMAGE_TYPE_RGBA ? PIXMAN_LE_a8r8g8b8 :
> PIXMAN_LE_x8r8g8b8,
>           img->hdr.width, img->hdr.height, img->hdr.gross_pixels,
> img->hdr.top_down);
>      pixman_image_ref(img->surface);
>      img->data = (uint8_t *)pixman_image_get_data(img->surface);
> --
> 2.5.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]