[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 09/18] Xfbdev: Treat 1 bpp pseudocolor as monochrome



Geert Uytterhoeven <geert@linux-m68k.org> writes:

> miCreateDefColormap() only preallocates black and white pixels if
> depth > 1.

I think you should also set pScreen->whitePixel and pScreen->blackPixel to
match the MONO01 definitions; it seems like you're taking advantage of
the behavior of miCreateDefColormap without doing that?

-- 
keith.packard@intel.com

Attachment: pgptTo82RsOgo.pgp
Description: PGP signature


Reply to: