al_get_current_display man page

al_get_current_display — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

ALLEGRO_DISPLAY *al_get_current_display(void)

Description

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

See Also

al_set_target_bitmap(3)

Info

Allegro reference manual