al_get_current_display(3) al_get_current_display(3)

al_get_current_display - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_DISPLAY *al_get_current_display(void)

Return the display that is “current” for the calling thread, or NULL if there is none.

al_set_target_bitmap(3)

Allegro reference manual