Re: [AD] proposal: draw_sprite_*_ex

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


Jon Rafkind wrote:
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])

Does that mean that SPRITE_TRANS can only draw alpha-blended sprites and calling set_*_blender() does not affect these new functions?


--
Milan Mimica
http://sparklet.sf.net




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