http://bugs.winehq.org/show_bug.cgi?id=2666
------- Additional Comments From oliver_stieber@yahoo.co.uk 2005-04-10 05:03 ------- The bug should be fairly easy to fix, it looks like the pallet is either not being created or being dropped at some point.
I ran wine with +ddraw +bitmap, X11DRV_DIB_MapColor is used to look up the 8 bit colour for a 24bit RGB value, but when I dumped the colour palette being used it was completely black.
X11DRV_DIB_MapColor was being called from X11DRV_DIB_GetImageBits_8 via goto updatesection
Alixandre notes:
/* * Hack for now * This condition is true when GetImageBits has been called by * UpdateDIBSection. For now, GetNearestIndex is too slow to support * 256 colormaps, so we'll just use for for GetDIBits calls. * (In somes cases, in a updateDIBSection, the returned colors are bad too) */
So I expext that the palette problem is in UpdateDIBSection, and that's as far as I got.