.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_num_display_modes" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_num_display_modes - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include int al_get_num_display_modes(void) \f[R] .fi .SH DESCRIPTION .PP 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(3alleg5), and al_set_new_display_flags(3alleg5) 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 .PP al_get_display_mode(3alleg5)