1al_set_new_display_adapter(3) al_set_new_display_adapter(3)
2
3
4
6 al_set_new_display_adapter - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_set_new_display_adapter(int adapter)
12
14 Sets the adapter to use for new displays created by the calling thread.
15 The adapter has a monitor attached to it. Information about the moni‐
16 tor can be gotten using al_get_num_video_adapters(3) and al_get_moni‐
17 tor_info(3).
18
19 To return to the default behaviour, pass ALLEGRO_DEFAULT_DIS‐
20 PLAY_ADAPTER.
21
23 al_get_num_video_adapters(3), al_get_monitor_info(3)
24
25
26
27Allegro reference manual al_set_new_display_adapter(3)