[EMAIL PROTECTED] writes:
> ok, here it goes:
>
> ggi provides a ggiPackColors routine, which internally has to map the
> colors of the array. so why does not ggi provides a ggiPackPixels
> routine? it seems it would be much more efficient, and easier/shorter
> to implement than ggiPackColors. any particular design reason?
I don't get you. You can pack a ggi_color into a pixel, and you can
unpack a pixel into a ggi_color. Functions for both already exist
(ggiPackColors and ggiUnpackPixels respectively). What would the
ggiPackPixels() function do?
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan
Royal Institute of Technology | Phone: +46 707 452062
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]