RE: [AD] Allegro5 and colors |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> This means that we'll need two versions of each of the primitive
> functions - not very nice. It also means that al_put_pixel_color will
Indeed.
> contain some call to al_map_rgba or al_map_yuv, which I am trying to
> avoid for efficiency reasons.
I'd have imagined that it would be the opposite:
the function getting the AL_COLOR pointer would be a switch on
the AL_COLOR actual type, and call the right routine (which could
be inline).
--
Vincent Penquerc'h
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |