Re: [AD] No more video/system bitmaps |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] No more video/system bitmaps
- From: Chris <chris.kcat@xxxxxxxxxx>
- Date: Wed, 01 Jun 2005 12:47:52 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=pBPVtVELBnPQHmxxuCP4anazp56tLnJiJJmIWYgXSxMQh6RIeJDEbPo3CwMoQ8UbLges/ax3Z51gHB/unsVC6Yc8/iVWW2w0O8iqRL8z6wHNYQRgDlYoxpZ7knQNHCrCNFNPJZiGEJvwvnPQUCmAqAk28FC8qNq/Nf6LExItMT4=
Robert Ohannessian wrote:
I don't think I understand your second question.
I mean something like this:
// Lock the bitmap to get a pointer to it
al_lock_bitmap(bitmap);
// Draw to it or draw it to something
do_some_drawing();
// Unlock the bitmap. This will premote/demote the
// bitmap if Allegro decides it's better off elsewhere.
al_unlock_bitmap(bitmap);