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)
- KrampusHack 2016
- Bitmap behind mappy map
- How to play video in allegro 5
- [A5] Show & Hide window/display Cross-Platform ?
- Why some Shaders don't work !
- Mixing Allegro 5 with OPENGL
- save display window as image(png,jpg)
Other recent discussions:
- Creating sub-bitmap of locked bitmap
- How to make a bitmap blink?
- Font loading crashing with Allegro 5.2
- Inconstistent joystick event delay
- Still trying to debug ManyMouse and al_set_target_bitmap
- Lightning with some light points
- RPG Player
- Image Keyboard
- Allegro 5.2 Image Xcode
- Performance issue regarding al_put_pixel and raycasting