al_get_num_video_adapters

int al_get_num_video_adapters(void)
Introduced in 5.0.0

Get the number of video "adapters" attached to the computer. Each video card attached to the computer counts as one or more adapters. An adapter is thus really a video port that can have a monitor connected to it.

See also: al_get_monitor_info

Examples: ex_draw_bitmap, ex_dualies, ex_monitorinfo, ex_windows, ex_winfull


Most helpful discussions: