al_get_new_display_adapter

int al_get_new_display_adapter(void)
Introduced in 5.0.0

Gets the video adapter index where new displays will be created by the calling thread, if previously set with al_set_new_display_adapter. Otherwise returns ALLEGRO_DEFAULT_DISPLAY_ADAPTER.

See also: al_set_new_display_adapter


Most helpful discussions: