al_get_num_display_modes(3)

al_get_num_display_modes3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
int al_get_num_display_modes(void)

Overview

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.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.