al_get_new_di...y_refresh_rate(3alleg5)
β¨ NAME β¨
okay bestie, so this page is for al_get_new_display_refresh_rate β and yeah, the title up top got cut off into al_get_new_di...y_refresh_rate because terminals are dramatic like that π
. It's an Allegro 5 API page, and the manual it lives in is 3alleg5. Anyway. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
the way you summon it:
#include <allegro5/allegro.h>
int al_get_new_display_refresh_rate(void)
no args, no drama, she just returns an int β¨
π DESCRIPTION π
Get the requested refresh rate to be used when creating new displays on the calling thread.
that's it. that's the whole vibe. it's giving "tell me what refresh rate I asked for" β specifically the one that's gonna be used for the new displays you make on the calling thread. not some global thing, not the actual live display's rate, just the requested one you set up earlier. iykyk π¦
lowkey important: it's the requested value, so don't go thinking this is a promise about what the monitor is literally doing, bestie. it's what was asked for. periodt.
π SEE ALSO π
al_set_new_display_refresh_rate(3alleg5)β the setter to this getter, her other half, the matching set π
that's the whole page, no cap π
Allegro reference manual β that's the source/version energy right there, and the footer was just the same thing again: Allegro reference manual on the left, al_get_new_di...y_refresh_rate(3alleg5) on the right. so yeah, that's a wrap, go call your setter and live your best display-creation life πβ¨π¦
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms