On Wed, 19 Apr 2006 16:50:47 -0400 Eric Frias efrias@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.