Geert Uytterhoeven <[email protected]> writes:

>> Geert Uytterhoeven <[email protected]> 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?
>
> Due to the visual override, fbdevCreateColormap() takes care of that since
> "[PATCH 08/18] Xfbdev: Add support for monochrome visuals".

Indeed. Thanks for checking.

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgpgjxh3ahsZO.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to