al_destroy_display(3alleg5)
al_destroy_display(3alleg5) β Allegro 5 API π
β¨ NAME β¨
al_destroy_displayβ Allegro 5 API π
π SYNOPSIS π
okay so here's the exact summoning circle, bestie β¨
#include <allegro5/allegro.h>
void al_destroy_display(ALLEGRO_DISPLAY *display)
π¦ DESCRIPTION π¦
Destroy a display. that's the whole job, periodt. π₯
If the target bitmap of the calling thread is tied to the display, then it implies a call to al_set_target_bitmap(NULL); before the display is destroyed. that's the special implied call, bestie π
That special case notwithstanding, you should make sure no threads are currently targeting a bitmap which is tied to the display before you destroy it. no cap, check your threads first β this is the part where chaos could happen. π
πΈ SEE ALSO πΈ
Bye bestie! π Source/version: Allegro reference manual. Page: al_destroy_display(3alleg5). Date: not listed on this page. π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms