.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_get_num_display_modes" "3" "" "Allegro reference manual" .SH NAME al_get_num_display_modes \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] int al_get_num_display_modes(void) .EE .SH DESCRIPTION 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(3), and al_set_new_display_flags(3) 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. .SH SEE ALSO al_get_display_mode(3)