al_destroy_bitmap
void al_destroy_bitmap(ALLEGRO_BITMAP *bitmap)
Introduced in 5.0.0
Destroys the given bitmap, freeing all resources used by it. Does nothing if given the null pointer.
Examples: ex_bitmap, ex_bitmap_flip, ex_bitmap_target, ex_blend2, ex_blend_bench, ex_blend_test, ex_blit, ex_clip, ex_convert, ex_curl, ex_draw, ex_draw_bitmap, ex_dualies, ex_expose, ex_filter, ex_font, ex_fs_resize, ex_gldepth, ex_lines, ex_lockbitmap, ex_logo, ex_mixer_pp, ex_mouse_cursor, ex_multiwin, ex_nodisplay, ex_physfs, ex_pixelformat, ex_premulalpha, ex_resize2, ex_rotate, ex_scale, ex_subbitmap, ex_transform
Most helpful discussions:
- Destroying an array of bitmaps (1)
- al_destroy_bitmap() crashes when called (1)
- freeing memory (1)
- Using Sine And Cosine For Rotation
- Shooting Ball From Rotating Bitmap
- Saving Bitmaps
- Problem with al_creat_bitmap
- Mouse Click Inside Timer Function
- Convert *bitmap to char buffer
- al_load_bitmap question
Other recent discussions:
- MOUSE question
- Having Trouble with exit(1) - Stalling Program
- My second game, space invader simplified
- Vivace extra points. Its there a better way of doing this one.
- Allegro5 and OpenGL. Problem with drawing Allegro primitives
- Multiple layer scrolling problem
- You're such a disappointment.
- How to handle game state changes?
- Mipmap causing texture bleeding
- Difficulty compiling on Windows