destroy_rle_sprite(3alleg4) | Allegro manual | destroy_rle_sprite(3alleg4) |
destroy_rle_sprite - Destroys an RLE sprite. Allegro game programming library.
#include <allegro.h>
void destroy_rle_sprite(RLE_SPRITE *sprite);
Destroys an RLE sprite structure previously returned by get_rle_sprite(). If you pass a NULL pointer this function won't do anything. Use this once you are done with an RLE sprite to avoid memory leaks in your program.
version 4.4.3 | Allegro |