[Bug 4277] New: GetPixel() returns wrong value for monochrome
bitmaps
Wine Bugs
wine-bugs at winehq.org
Mon Jan 9 15:46:53 CST 2006
http://bugs.winehq.org/show_bug.cgi?id=4277
Summary: GetPixel() returns wrong value for monochrome bitmaps
Product: Wine
Version: CVS
Platform: Other
OS/Version: other
Status: NEW
Keywords: download, source
Severity: normal
Priority: P2
Component: wine-x11driver
AssignedTo: wine-bugs at winehq.org
ReportedBy: hallo at michael-kaufmann.ch
The GDI function GetPixel() should return 0x00ffffff for white pixels in a
monochrome bitmap. Wine returns 0x00010000 on my system.
GetPixel() is implemented in dlls/x11drv/graphics.c. The function calls
XGetPixel() and then passes the pixel value to
X11DRV_PALETTE_ToLogical in dlls/x11drv/palette.c.
Probably the bug is in this function.
I've created an example program and hope that somebody will try to fix this
bug.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the wine-bugs
mailing list