|
From: Benjamin H. <be...@ke...> - 2002-06-25 17:02:48
|
>I thought that piece of code looked weird because it's setting green >equal to rinfo->palette[regno<<1].green, but doesn't seem to ever use >green during the rest of the function... It should about 2 lines below ... at least in my tree. >BTW, don't you mean 64 palette entries for green (being that it's 6 >bits)? Yah, sorry, typing too fast ;) >Anyways, I took some time this weekend to look over the code >some more, and I really doubt my problems originates in that function. >As I understand it, the palette (colormap?) will only be used when >displaying colors in text mode. Hrm... there HW colormap is used in all modes in recent drivers, thus you can actually set a gamma table. The driver should set it to a linear ramp by default though that may be broken. >My problem seems to affect many more colors (practically all 65536 of >them), but I've yet to track it down. I put in a request on ATI's >website to get access to the specs (hoping that'll help me), but I >haven't heard anything back from them yet. Ben. |