destroy_bitmap man page

destroy_bitmap — Destroys any type of created bitmap. Allegro game programming library.


#include <allegro.h>

void destroy_bitmap(BITMAP *bitmap);


Destroys a memory bitmap, sub-bitmap, video memory bitmap, or system bitmap when you are finished with it. If you pass a NULL pointer this function won't do anything. See above for the restrictions as to when you are allowed to destroy the various types of bitmaps.

The bitmap must not have a mouse cursor shown on it at the time it is destroyed.

See Also

create_bitmap(3), load_bitmap(3), show_mouse(3)

Referenced By

allegro_exit(3), create_bitmap(3), create_bitmap_ex(3), create_sub_bitmap(3), create_system_bitmap(3), create_video_bitmap(3), ex12bit(3), ex3buf(3), ex3d(3), exaccel(3), exalpha(3), exbitmap(3), exblend(3), excamera(3), excolmap(3), exconfig(3), excustom(3), exdbuf(3), exflip(3), exjoy(3), exlights(3), exmem(3), exmouse(3), expackf(3), expat(3), exquat(3), exrgbhsv(3), exrotscl(3), exscale(3), exscn3d(3), exscroll(3), exshade(3), exsprite(3), exstars(3), exswitch(3), extrans(3), extrans2(3), exunicod(3), exupdate(3), exxfade(3), exzbuf(3), load_bitmap(3).

Explore man page connections for destroy_bitmap(3).

Allegro version 4.4.2 Allegro manual