Re: [AD] Font drawing bug |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Font drawing bug
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Fri, 08 Aug 2008 20:30:02 +0200
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>