Reference

al_get_display_adapter(3)

Allegro 5 API

NAME

al_get_display_adapter - 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