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(3alleg5)