Improve XOR table computation.
Set the initial state to XOR[i]=i, so that on very low color images, the algorithm will try to swap around the first colors. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@2049 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -841,7 +841,6 @@ void Draw_all_palette_sliders(T_Scroller_button * red_slider,
|
||||
{
|
||||
RGB_to_HSL(j1,j2,j3,&j1,&j2,&j3);
|
||||
}
|
||||
DEBUG("j1",j1);
|
||||
Format_component(j1*Color_count/256,str);
|
||||
red_slider->Position=Color_max-Expand_component(j1);
|
||||
Window_draw_slider(red_slider);
|
||||
|
||||
Reference in New Issue
Block a user