table of contents
other versions
- bookworm 2:5.2.8.0+dfsg-1
- testing 2:5.2.9.1+dfsg-1
- unstable 2:5.2.9.1+dfsg-1.1
- experimental 2:5.2.9.1+dfsg-1.1~exp2
al_get_num_display_modes(3alleg5) | al_get_num_display_modes(3alleg5) |
NAME¶
al_get_num_display_modes - Allegro 5 API
SYNOPSIS¶
-
#include <allegro5/allegro.h> int al_get_num_display_modes(void)
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(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.
SEE ALSO¶
al_get_display_mode(3alleg5)
Allegro reference manual |