nanogui: RGB reversed
Subject:
Re: [nanogui] RGB reversed
From:
David Cullen ####@####.####
Date:
16 Sep 2005 13:32:07 +0100
Message-Id: <432ABB26.7090708@intergate.com>
Dear Greg,
Greg Haerr wrote:
>> GrSetGCForegroundPixelVal(gc, MW0RGB(0, 0, 128));
>>
>> gives me a red foreground. Is there a bug with the MWRGB macros?
>
>
>
> No. Your hardware might be BGR/RGB reversed, though. What
> color format are you running in hardware? Truecolor or palette?
I'm running a true color frame buffer on an Intel machine running Fedora
Core 3. Some lines from my config file:
ARCH = LINUX-NATIVE
BIGENDIAN = N
SCREEN_PIXTYPE = MWPF_TRUECOLOR888
I use "vga=792" in my grub.conf file which is 1024x768 24-bit color.
Thanks,
David