Tiny patch for dib.c

Dmitry Timoshkov dmitry at codeweavers.com
Thu May 4 11:16:58 CDT 2006


leslie.polzer at gmx.net wrote:

> On Thu, May 04, 2006 at 12:16:10PM +0900, Mike McCormack wrote:
> 
> > Maybe you can investigate how we can get a DIB with bmBitsPixel <= 8
> > and (biClrUsed > 256 or bcBitCount>8) ?
> 
> I'm not an expert on this, but I supposed the application called it with
> an off-by-one value of 257?  Do you think the problem could be with
> Wine?

Most likely the 'color' should be silently truncated to 256, we had same
kind of the problem with X11DRV_[Set|Get]DIBColorTable.

-- 
Dmitry.



More information about the wine-devel mailing list