AL_GET_DISPLAY_REFRESH_RATE(3)
π al_get_display_refresh_rate(3) β Allegro 5 API
okay bestie, so this one's from the Allegro 5 API and it is so chill. literally one little function, but she's important, iykyk β¨
πΈ SYNOPSIS πΈ
like, include the header first obviously:
#include <allegro5/allegro.h>
int al_get_display_refresh_rate(ALLEGRO_DISPLAY *display)
that's it. that's the whole vibe. π«Ά
π DESCRIPTION π
so basically this function gets the refresh rate of the display π that's the whole thing. no cap, that's literally what she does. you hand her a display, she tells you the refresh rate. iconic behavior, honestly.
π¦ SEE ALSO π¦
al_set_new_display_refresh_rate(3)β the other half of the duo, go read her too π
<div align="center">π«</div>
and that's the whole page, bestie β short and sweet, just how we like it π anyway, this lil baddie comes to you straight from the Allegro reference manual, mwah, slay, 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