AL_GET_NUM_DISPLAY_MODES(3)
π al_get_num_display_modes(3) π
okay bestie, this one is from the Library Functions Manual and itβs serving Allegro 5 API realness. Letβs get into it β¨
πΈ NAME πΈ
al_get_num_display_modes β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
int al_get_num_display_modes(void)
π DESCRIPTION π
So basically, this function gets the number of available fullscreen display modes for the current set of display parameters. It 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. π
And if you set the new display parameters to zero? Boom β you get a list of all modes for the default driver. Slay. π¦
π«Ά SEE ALSO π«Ά
π cute little sign-off bestie: this page comes from the Allegro reference manual, and itβs the al_get_num_display_modes(3) page. The original footer doesnβt show a date, so Iβm not inventing one β periodt. π
β¨
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms