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

Keith Packard keithp at keithp.com
Mon Apr 8 09:55:10 PDT 2013


Geert Uytterhoeven <geert at 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 at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130408/d385e70b/attachment.pgp>


More information about the xorg-devel mailing list