get_refresh_rate(3alleg4)

✨ NAME ✨

get_refresh_rate(3alleg4) β€” bestie, this is the Allegro manual's lil function for returning the current refresh rate. It's giving "tell me the Hz, pls" energy πŸ’–


🌸 SYNOPSIS 🌸

okay so here's the summoning spell, copy it exactly:

#include <allegro.h>

int get_refresh_rate(void);

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns the current refresh rate, if known. Not all drivers are able to report this information, so don't come for her if she's got nothing. If the actual rate is unknown, she returns 0. Periodt. πŸ’…

lowkey important: 0 means "idk the actual rate", not a real refresh rate, bestie 😭

πŸ‘‘ SEE ALSO πŸ‘‘


Allegro version 4.4.3, signing off πŸ’– mwah, bye bestie πŸŽ€βœ¨