Re: [AD] acquire_bitmap weirdness

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


On Monday 02 January 2006 05:15, Elias Pschernig wrote:
> +   Note: For backwards compatibility, the unlocking behavior of such
> functions
> +   is permanent. That is, if you call acquire_bitmap first, then 
> call e.g. en
> +   accelerated blit, the DirectX bitmap will be unlocked 
> automatically.

This is a little misleading. As I understand it, the lock count still remains 
even though it's unlocked. So even if an accelerated function unlocks a 
bitmap, you still need to call release_bitmap for every acquire_bitmap you 
called.




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