[1/2] gdi32/dib: Fix palette of 1bpp DIB in GetDIBits (post 1.0 resend)

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sun Jun 29 06:30:01 CDT 2008


Windows always generates a black/white palette for 1 bit DIBs
generated from DDBs. Copying from the current palette only takes
place for color DDBs (not explicitly mentioned in MSDN), and only
if depth equal (MSDN states it, explicitly).
---
 dlls/gdi32/dib.c          |    6 ++++--
 dlls/gdi32/tests/bitmap.c |    1 -
 2 files changed, 4 insertions(+), 3 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c97a87baa404ac39198703d4cd0b622b592c398d.diff
Type: text/x-patch
Size: 1417 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080629/ff656578/attachment.bin 


More information about the wine-patches mailing list