[Bug 2666] Text color lost
Wine Bugs
wine-bugs at winehq.org
Tue Oct 4 05:03:42 CDT 2005
http://bugs.winehq.org/show_bug.cgi?id=2666
------- Additional Comments From oliver_stieber at 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.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the wine-bugs
mailing list