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:
- Display Mode removes window controls
- Allegro 5 performance
- Weird flex with my Bitmaps on my Screen
- Allegro Wiki A5 Tutorial error or really odd laptop?
- ALLEGRO_FULLSCREEN on OSX
- A strange error everytime my proggy ends...
- Allegro 5.2.x and Raspberry Pi - failed to create display
- Allegro 5.2.2 Setup
- Drawing text slows down FPS dramatically
- al_draw_bitmap_region does not return
Other recent discussions:
- Can't enumerate fullscreen modes before a display is created
- weird mouse issue
- ALLEGRO_RESIZABLE & Mouse Pointer Collision Detection
- Strange lags in really simple project
- al_draw_filled_rectangle v. slow compared to al_draw_filled_rectangle
- A5 setting color depth problem (Linux)
- Trying Allegro, can't get to compile with CodeBlocks!
- Extreme slow down on Windows
- Fullscreen on Mac OSX Mountain Lion not working
- al_get_display_mode on Windows and Linux