Re: [AD] rgb_to_color

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Tue, 2004-11-02 at 11:31 +0100, Evert Glebbeek wrote:
> > I've noticed that there is no function for converting an RGB pointer
> > into a color so you have to implement your own if you need it.  Just
> > suggesting it should be added to the library as either a macro or inline
> > function.
> 
> Wouldn't this just be a one-line wrapper around makecol? Not that I'm
> opposed to the idea, but is it really that important to have a seperate
> function for it?
> 

And RGB truncates colors to 18bit.. so it's rather useless anyway.

-- 
Elias Pschernig





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/