nanogui: wrong colors
Subject:
Re: [nanogui] wrong colors
From:
"Greg Haerr" ####@####.####
Date:
9 Dec 2005 17:01:26 +0000
Message-Id: <0b6401c5fce2$25c800c0$6401a8c0@gregnewport>
> I am using microwindow-0.90 on an intel pxa270 based board (linux-2.4.29).
The
problem is that the colors are weird on the screen. (I set
MWPF_TRUECOLOR0565
in the microwindows config file and set the framebuffer for 16bpp
We need more description of "wierd" in order to understand
exactly how the color/bytes per pixel is mismatched on your system,
versus created by nano-X, thus drawing bits that show other than intended.
: undefined reference to `COLORVALTOPIXELVAL'
: undefined reference to `PIXELVALTOCOLORVAL'
This is because you used MWPF_TRUECOLOR0565, rather
than MWPF_TRUECOLOR565. (added a '0', note comment
in config file)
Regards,
Greg