gdi32: Fix palette of 1bpp DIB in GetDIBits.
commitfd8746b43ce24e209dd22c0bb1a4fe3ea38720a6
authorMichael Karcher <wine@mkarcher.dialup.fu-berlin.de>
Sun, 29 Jun 2008 11:30:01 +0000 (29 13:30 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 1 Jul 2008 12:58:54 +0000 (1 14:58 +0200)
treee8bacb3178476825a420e81d7d74c186d786f070
parent3f64708818ffce26255fed1fb350acf0d4a45567
gdi32: Fix palette of 1bpp DIB in GetDIBits.

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
dlls/gdi32/tests/bitmap.c