x11drv: question about byte-swapping for DIBs

Phil Krylov phil at newstar.rinet.ru
Wed Apr 19 17:52:26 CDT 2006


On Thu, 20 Apr 2006 00:10:42 +0200
Willie Sippel <willie at zeitgeistmedia.net> wrote:

> 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 ?

No, I get rather like this:

http://newstar.rinet.ru/~phil/Screenshot-StarLing-for-Macintosh.png

(the yellow-greenish square buttons should be light grey and clear)

-- Ph.



More information about the wine-devel mailing list