Sorry... Just looked at the SVGALib source, and it seems that
vga_setpalvec() just calls vga_setpalette() in a loop anyway! So there
would be no advantage to me using vga_setpalvec().

Thanks,
James



James wrote:

> Matan,
>
>   Please, please, please, could you make the function vga_setpalvec() to
> use a pointer to a list of "unsigned char" instead of "int" for the
> colour entries, which can only range from 0-63 anyway?!?
> I`m sure I`m not the only one that stores the palette components as
> unsigned chars, as it seems the logical thing to do. What do you think?
> At the moment I`m having to resort to looping 256 times and calling
> vga_setpalette() which can`t be as efficient?
>
> Thanks,
> James


------------------------------------------------------------------
Unsubscribe:  To:   [EMAIL PROTECTED]
              Body: unsubscribe linux-svgalib

Reply via email to