nanogui: Framebuffer question (display)
Subject:
Re: [nanogui] Framebuffer question (display)
From:
"Greg Haerr" ####@####.####
Date:
9 Jan 2008 01:01:19 -0000
Message-Id: <05d501c8525b$1abcc6e0$6501a8c0@winXP>
: I don't know why, the hardware seems to be correct but on the display I
see
: where green blue and where blue green.
:
: Is there any way to reverse this in the Nano-X compilation in the Config
: file or somewhere else ?
Thats a bit strange. All RGB <-> hw framebuffer values are
converted using macros in include/mwtypes.h. Look for things
like RGBTOPIXELVAL and COLORTOPIXELVAL macros.
These macros, built for each framebuffer type, convert between RGB
and hw formats.
Regards,
Greg