Re: [AD] Font drawing bug

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


I've solved it by clearing the bitmap first, but, before I commit it,
should the fix instead be that _all_ bitmaps be blanked when they are
created?

I can't think of a situation where you would not want the bitmap cleared (just the situation where you don't care either way), so I'm inclined to say that, yes, they should be cleared. The one caveat is if there is a situation where doing so is expensive, and you really only want to do it if you have to. Is there such a situation (when dealing with textures/video bitmaps, say)?

Evert




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