The function
ggiSetPalette(vis, GGI_PALETTE_DONTCARE, 1,
&greenish);
returns an palette index, that when used does not get
you greenish colors.
The same index is returned for ggiMapColor(vis,
&greenish), so there is definitely something fishy going
on.
All in all, I see no way to get anything close to the
expected colors. Totally broken.
I might have missed something though?
Logged In: YES
user_id=972775
See the newly commited program
ggi-core/libggi/program/check/palette.c
in cvs.
(and, BTW, sorry for the lousy spelling in the subject, the
length apparently maxed out and I didn't notice that my
changes didn't happen...)
Logged In: YES
user_id=51548
I can reproduce this.
xdpyinfo snippet:
visual:
visual id: 0x43
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
Logged In: YES
user_id=51548
This bug has been fixed in -current and GGI 2.1.x