x11drv: question about byte-swapping for DIBs

Willie Sippel willie at zeitgeistmedia.net
Wed Apr 19 17:10:42 CDT 2006

Am Mittwoch, 19. April 2006 22:50 schrieb Eric Frias:
> 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.
Messed colors and vertical stripes? Similar to 
http://www.froq.net/mirage/mirage1.png ?

That's a standard Windows application running with regular Wine on x86, no 
Winelib or any endianess issues involved - in case the problem you see is 

Willie Sippel

  ////////  |  Tritium Studios
 //         |  ______________________________
//// ///    |  http://www.tritium-studios.com

<willie at froq.net>

More information about the wine-devel mailing list