|
From: | Jan D. |
Subject: | Re: [lookup_rgb_color] Distorted colours |
Date: | Sat, 30 Aug 2003 19:48:42 +0200 |
address@hidden (Gerd Moellmann) writes:Jesper Harder <address@hidden> writes:Can you mail the output of xdpyinfo here?available colormap entries: 64 per subfield red, green, blue masks: 0xf800, 0x7e0, 0x1f significant bits in color specification: 8 bitsCould you please try this patch:The colours are now different than before: <http://ifa.au.dk/~harder/colours2.png> ... but still wrong.
For a 16 bit visual, the sizes are actually 5, 6 and 5 bits. The patch assumes one size for all three. I have checked in a correction, please try it. Thanks for the swift response. Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |