When creating DIBs with a color depth <= 8, always set biClrUsed field
commitc9e02e117f2347ad5af184a0ab3f699cbb9d3b09
authorPeter Beutner <p.beutner@gmx.net>
Mon, 14 Nov 2005 15:10:23 +0000 (14 15:10 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Nov 2005 15:10:23 +0000 (14 15:10 +0000)
treef16cd4ce101bd5dbd9dcd9e01f8bd08731856778
parentdeaae4b8d171a7751c85f8fc9365bc1f115a306f
When creating DIBs with a color depth <= 8, always set biClrUsed field
to the number of entries in the color table.
dlls/gdi/dib.c
dlls/gdi/tests/bitmap.c