Re: [AD] Font drawing bug

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


On Fri, August 8, 2008 1:09 pm, Peter Hull said:
> Milan's point is the key IMO:
> "Why is the input blended and not just written over the garbage in
> the
> first place?"
> Shouldn't we set up the blender to do a straight copy instead of
> clear
> + translucent blit?

Yes we should. It would be simple.. just a call to
al_set_blender(ALLEGRO_ONE, ALLEGRO_ZERO, al_map_rgb(255, 255,
255));... that should do a straight copy. Well, it appears that the
font addon does that already.

Trent :{)>




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