Re: [AD] image loading flags

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


On 2011-06-16, allefant <info@xxxxxxxxxx> wrote:
> 
> I'd probably just add a flags parameter to all the existing bitmap load
> functions (and yes, it would mean when upgrading your sources from 5.0 to
> 5.2 you'd have to spend 10 minutes going through all the missing parameter
> errors and add the flag).

Yes, I forgot about all the format-specific functions.  I don't care
about breaking those.  For al_load_bitmap we could provide a macro:

    #define al_load_bitmap(fn)	al_load_bitmap((fn), 0)

Peter




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