1al_destroy_display(3) al_destroy_display(3)
2
3
4
6 al_destroy_display - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_destroy_display(ALLEGRO_DISPLAY *display)
12
14 Destroy a display.
15
16 If the target bitmap of the calling thread is tied to the display, then
17 it implies a call to "al_set_target_bitmap(NULL);" before the display
18 is destroyed.
19
20 That special case notwithstanding, you should make sure no threads are
21 currently targeting a bitmap which is tied to the display before you
22 destroy it.
23
25 al_set_target_bitmap(3)
26
27
28
29Allegro reference manual al_destroy_display(3)