Scroll to navigation

al_get_display_adapter(3alleg5) al_get_display_adapter(3alleg5)

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

Allegro reference manual