1al_destroy_bitmap(3) al_destroy_bitmap(3)
2
3
4
6 al_destroy_bitmap - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_destroy_bitmap(ALLEGRO_BITMAP *bitmap)
12
14 Destroys the given bitmap, freeing all resources used by it. This
15 function does nothing if the bitmap argument is NULL.
16
17 As a convenience, if the calling thread is currently targeting the bit‐
18 map then the bitmap will be untargeted first. The new target bitmap is
19 unspecified. (since: 5.0.10, 5.1.6)
20
21 Otherwise, it is an error to destroy a bitmap while it (or a sub-bit‐
22 map) is the target bitmap of any thread.
23
25 al_create_bitmap(3)
26
27
28
29Allegro reference manual al_destroy_bitmap(3)