https://bugs.freedesktop.org/show_bug.cgi?id=74939

--- Comment #5 from Michel Dänzer <[email protected]> ---
(In reply to comment #4)
> +#if X_BYTE_ORDER == X_BIG_ENDIAN
> +    buf[0] = pix_a;
> +    buf[1] = pix_b;
> +    buf[2] = pix_g;
> +    buf[3] = pix_r;
> +#else
>      buf[0] = pix_r;
>      buf[1] = pix_g;
>      buf[2] = pix_b;
>      buf[3] = pix_a;
> +#endif

These values are floats, so their order is not subject to endianness. If this
change helps, the extraction of pix_r/g/b/a from the packed fg value should be
fixed instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
xorg-driver-ati mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-ati

Reply via email to