1destroy_compiled_sprite(3) Allegro manual destroy_compiled_sprite(3)
2
3
4
6 destroy_compiled_sprite - Destroys a compiled sprite. Allegro game pro‐
7 gramming library.
8
10 #include <allegro.h>
11
12
13 void destroy_compiled_sprite(COMPILED_SPRITE *sprite);
14
16 Destroys a compiled sprite structure previously returned by get_com‐
17 piled_sprite(). If you pass a NULL pointer this function won't do any‐
18 thing. Use this once you are done with a compiled sprite to avoid mem‐
19 ory leaks in your program.
20
21
23 get_compiled_sprite(3)
24
25
26
27Allegro version 4.2.2 destroy_compiled_sprite(3)