On Mon, Apr 8, 2013 at 6:55 PM, Keith Packard <kei...@keithp.com> wrote:
> Geert Uytterhoeven <ge...@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?

Due to the visual override, fbdevCreateColormap() takes care of that since
"[PATCH 08/18] Xfbdev: Add support for monochrome visuals".

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/camuhmdv+tnjtnzjhfs8y+6zhkcbbs0lthtymlgbxyzg+txc...@mail.gmail.com

Reply via email to