logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_destroy_display - Allegro 5 API

Description

       Destroy a display.

       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 special case notwithstanding, you should make sure no threads are currently targeting a bitmap which
       is tied to the display before you destroy it.

Name

       al_destroy_display - Allegro 5 API

See Also

al_set_target_bitmap(3alleg5)

Allegro reference manual                                                             al_destroy_display(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              void al_destroy_display(ALLEGRO_DISPLAY *display)

See Also