Tiny patch for dib.c
Mike McCormack
mike at codeweavers.com
Wed May 3 22:16:10 CDT 2006
leslie.polzer at gmx.net wrote:
> if (colors > 256)
> - {
> - ERR("called with >256 colors!\n");
> - return NULL;
> - }
> + WARN("called with >256 (%d) colors!\n", colors);
We appear to only get down this codepath if bmBitsPixel <= 8, so there
should be no more than 2^8 colours.
Maybe you can investigate how we can get a DIB with bmBitsPixel <= 8 and
(biClrUsed > 256 or bcBitCount>8) ?
Mike
More information about the wine-devel
mailing list