Re: vga_setpalvec()

Search this archive.

From: James (james@jigsawdezign.com)
Date: Tue 11 Jun 2002 - 20:36:58 IDT


   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:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:25 IST