man destroy_bitmap () - Destroys any type of created bitmap. Allegro game programming library.

NAME

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

SYNOPSIS

#include <allegro.h>

void destroy_bitmap(BITMAP *bitmap);

DESCRIPTION

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.

SEE ALSO