get_refresh_rate(3)
π get_refresh_rate β Allegro manual, bestie edition π
okay so this is a lil function from the Allegro game programming library (yes, that Allegro, the one from get_refresh_rate(3), we're literally in it rn) and it's here to tell you how fast your screen is refreshing. no cap.
β¨ NAME β¨
get_refresh_rate β returns the current refresh rate. π¦ Allegro game programming library.
β¨ SYNOPSIS β¨
#include <allegro.h>
int get_refresh_rate(void);
β¨ DESCRIPTION β¨
So basically π β this one returns the current refresh rate, if known. and that "if known" is doing a LOT of heavy lifting here, because not all drivers are able to report this information π.
If the actual rate is unknown, it returns zero. that's it, that's the vibe check. zero means "idk bestie, your driver isn't telling me" π.
β¨ SEE ALSO β¨
mwah π this page is from the Allegro manual, version 4.4.3, dated back in the day β sending u all the love from the Allegro era, periodt. πβ¨
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms