Re: [AD] proposal: draw_sprite_*_ex

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




Milan Mimica wrote:
Jon Rafkind wrote:
draw_lit only requires an extra parameter because of 8-bit depth.

Not true.

Ok, you are right. I had forgotten that I replaced the color parameter of DLS_BLEND() with _blender_alpha. With this change then only 8-bit depends on the color parameter to draw_lit.
#define MAKE_DLS_BLENDER(a)    (color_map->data[(a) & 0xFF])




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