AL_GET_NEW_DISPLAY_REFRESH_RATE(3)
al_get_new_display_refresh_rate(3) π
β¨
okay so bestie, welcome to this lil page from the Library Functions Manual β Allegro 5 API edition π¦. We're talking about one very specific function today, and it's here to get a refresh-rate request. no cap.
π NAME π
al_get_new_display_refresh_rate β Allegro 5 API. That's the full name, and yes it's a long one; the header truncates it as al_get_new...efresh_rate(3) because manpages love a dramatic ellipsis π.
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
int al_get_new_display_refresh_rate(void)
That's it: no args, just void, and it gives you back an int β slay.
π DESCRIPTION π
okay so what does it actually do? It gets the requested refresh rate to be used when creating new displays on the calling thread. That's the entire tea β β requested refresh rate, new displays, calling thread. It's giving βwhat refresh rate did we ask for in this new-display setup?β energy π .
π SEE ALSO π
al_set_new_display_refresh_rate(3)β the other refresh-rate function on the block; go read that one next, bestie π«Ά.
Catch you later, bestie π β source/version vibes: Allegro reference manual, Allegro 5 API; date: not listed on this page, so we're not inventing one, ngl πΈβ¨.
π¦ 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