al_get_num_display_modes

int al_get_num_display_modes(void)
Introduced in 5.0.0

Get the number of available fullscreen display modes for the current set of display parameters. This will use the values set with al_set_new_display_refresh_rate, and al_set_new_display_flags to find the number of modes that match. Settings the new display parameters to zero will give a list of all modes for the default driver.

See also: al_get_display_mode

Examples: ex_display_options, ex_monitorinfo


Most helpful discussions:

Other recent discussions: