Re: [AD] Font drawing bug

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


On Fri, 2008-08-08 at 20:17 +0200, Evert Glebbeek wrote:
> Which actually raises a question: what does Allegro 4.2 do when you  
> allocate a bitmap? Is it guarenteed to be initialised to all 0? I  
> have a recollection of this not being the case at some point in the  
> distant past (it might have been with Allegro 3.11), which has lead  
> me to the habit of always clearing it myself after create_bitmap().
> 

Yes, in 4.2, a new bitmap has un-initialized (but allocated) memory.

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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