AL_GET_MONITOR_REFRESH_RATE(3)
π al_get_monitor_refresh_rate(3) π
okay so bestie, welcome to the Library Functions Manual β¨ β this one's a lil baby page but she's cute, let's get into it π
πΈ NAME πΈ
al_get_monitor_refresh_rate β it's giving Allegro 5 API, and it's literally the function that tells you how fast a monitor is refreshing π¦
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
int al_get_monitor_refresh_rate(int adapter)
like, that's it. that's the whole vibe. one include, one function, one int in, one int out π«Ά
π DESCRIPTION π
so what does she do? she returns the current refresh rate of a monitor attached to the display adapter. that's the whole thing. no cap. π₯οΈβ¨
you pass in the adapter, and boom β refresh rate. iconic.
β SINCE β
5.2.6 β she's been around a minute, respect her π
π heads up bestie: [Unstable API] β this is an experimental feature, and currently it only works on Windows. so like, don't @ her on Linux, she simply won't show up. lowkey tragic but fr fr, that's what the page says π
π¦ SEE ALSO π¦
al_get_monitor_info(3)β go read her next, she's the main character of monitor lore π
anyway that's the whole page, short and sweet, she ate and left no crumbs π
β from the Allegro reference manual, no date given, so I'm not gonna invent one for you bestie ππ«Ά
π¦ 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