x11drv: question about byte-swapping for DIBs

Phil Krylov phil at newstar.rinet.ru
Wed Apr 19 16:34:13 CDT 2006

On Wed, 19 Apr 2006 16:50:47 -0400
Eric Frias <efrias at syncad.com> wrote:

> I'm trying to debug a problem in which 24-bit .bmps don't display 
> correctly from a winelib application on a big-endian sparc host when 
> displaying on a little-endian intel PC.  In this case, the image is 
> garbled, with most of the colors being wrong and a pattern of vertical 
> stripes over the image.  The code passes through 
> convert_888_to_0888_reverse_dst_byteswap which is what mangles the image 
> data.

Just my 2 cents: the same bug appears in a winelib app on a big-endian PowerPC
host when displaying on the same big-endian PowerPC host, so it's probably
independent of display host.

-- Ph.

More information about the wine-devel mailing list