vga_setpalvec()

Search this archive.

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


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