al_get_display_adapter(3) al_get_display_adapter(3)

al_get_display_adapter - Allegro 5 API

#include <allegro5/allegro.h>
int al_get_display_adapter(ALLEGRO_DISPLAY *display)

Returns which adapter the window is currently placed on. Returns -1 if there was an error in determining the adapter.

5.2.10

Allegro reference manual