winex11/dib: Fix GetDIBits of 1 bit DDBs (post 1.0 resend)

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


1 bpp DDBs seem to always carry an implicit palette of black and white,
regardless of what the DC says. Based on a patch from Eric Pouech,
available at <http://bugs.winehq.org/attachment.cgi?id=12492>.
---
 dlls/gdi32/tests/bitmap.c |    5 +----
 dlls/winex11.drv/dib.c    |   15 +++++++++++++--
 2 files changed, 14 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c2ee3ea1d2589fafa6df4d6f5042fb572119d941.diff
Type: text/x-patch
Size: 1641 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080629/513066cf/attachment.bin 


More information about the wine-patches mailing list