1al_get_num_video_adapters(3) al_get_num_video_adapters(3)
2
3
4
6 al_get_num_video_adapters - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 int al_get_num_video_adapters(void)
12
14 Get the number of video "adapters" attached to the computer. Each
15 video card attached to the computer counts as one or more adapters. An
16 adapter is thus really a video port that can have a monitor connected
17 to it.
18
19 On Windows, use al_set_new_display_flags(3) to switch between Direct3D
20 and OpenGL backends, which will often have different adapters availā
21 able.
22
24 al_get_monitor_info(3)
25
26
27
28Allegro reference manual al_get_num_video_adapters(3)