al_get_display_adapter - Man Page
Allegro 5 API
Synopsis
#include <allegro5/allegro.h> int al_get_display_adapter(ALLEGRO_DISPLAY *display)
Description
Returns which adapter the window is currently placed on. Returns -1 if there was an error in determining the adapter.
Since
5.2.10
Info
Allegro reference manual