al_destroy_bitmap(3alleg5)
hey bestie! welcome to the Allegro 5 API page for al_destroy_bitmap(3alleg5) β yes, that's the manual name and the title, folded in like a little intro because we don't copy header lines here π
β¨ NAME β¨
al_destroy_bitmap β Allegro 5 API
π¦ SYNOPSIS π¦
#include <allegro5/allegro.h>
void al_destroy_bitmap(ALLEGRO_BITMAP *bitmap)
π DESCRIPTION π
Okay so al_destroy_bitmap destroys the given bitmap, freeing all resources used by it. If the bitmap argument is NULL, this function does nothing. Like, zero. Nada. A no-op, periodt.
As a convenience, if the calling thread is currently targeting the bitmap then the bitmap will be untargeted first. The new target bitmap is unspecified. (since: 5.0.10, 5.1.6)
β οΈ Otherwise, it is an error to destroy a bitmap while it (or a sub-bitmap) is the target bitmap of any thread. So don't, bestie. π«Ά
π SEE ALSO π
and that's the tea! this was the Allegro reference manual, al_destroy_bitmap(3alleg5) β no date on this footer, so that's the whole vibe. bye bestie! πβ¨
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms