1destroy_bitmap(3) Allegro manual destroy_bitmap(3)
2
3
4
6 destroy_bitmap - Destroys any type of created bitmap. Allegro game pro‐
7 gramming library.
8
10 #include <allegro.h>
11
12
13 void destroy_bitmap(BITMAP *bitmap);
14
16 Destroys a memory bitmap, sub-bitmap, video memory bitmap, or system
17 bitmap when you are finished with it. If you pass a NULL pointer this
18 function won't do anything. See above for the restrictions as to when
19 you are allowed to destroy the various types of bitmaps.
20
21 The bitmap must not have a mouse cursor shown on it at the time it is
22 destroyed.
23
24
26 create_bitmap(3), load_bitmap(3), show_mouse(3)
27
28
29
30Allegro version 4.2.2 destroy_bitmap(3)