[Xcb] Bug in image handling on PPC

Ulrich Eckhardt doomster at knuut.de
Tue Jul 29 14:13:21 PDT 2008

On Thursday 24 July 2008 07:53:02 Ulrich Eckhardt wrote:
> [...] xcb_image_convert() fails while manually converting the pixels works,
> at least for the case at hand.

Take a look at the output of the attached file. If you compare the results 
using xcb_convert_image() and xcb_image_{put,get}_pixel(), you will see that 
the incorrect image (at least on my machine) is three bytes off simply! IOW, 
the values in xcb_image_t's data are shifted by three bytes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image-fail1.c
Type: text/x-csrc
Size: 4289 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xcb/attachments/20080729/8929c196/attachment.c 

More information about the Xcb mailing list