AL_GET_NEW_DISPLAY_REFRESH_RATE(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

al_get_new_display_refresh_rate(3) πŸ’…βœ¨

okay so bestie, welcome to this lil page from the Library Functions Manual β€” Allegro 5 API edition πŸ¦‹. We're talking about one very specific function today, and it's here to get a refresh-rate request. no cap.

πŸŽ€ NAME πŸŽ€

al_get_new_display_refresh_rate β€” Allegro 5 API. That's the full name, and yes it's a long one; the header truncates it as al_get_new...efresh_rate(3) because manpages love a dramatic ellipsis 😭.

✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

int al_get_new_display_refresh_rate(void)

That's it: no args, just void, and it gives you back an int β€” slay.

πŸ’– DESCRIPTION πŸ’–

okay so what does it actually do? It gets the requested refresh rate to be used when creating new displays on the calling thread. That's the entire tea β˜• β€” requested refresh rate, new displays, calling thread. It's giving β€œwhat refresh rate did we ask for in this new-display setup?” energy πŸ’….

🌈 SEE ALSO 🌈


Catch you later, bestie πŸ’– β€” source/version vibes: Allegro reference manual, Allegro 5 API; date: not listed on this page, so we're not inventing one, ngl 🌸✨.

πŸ“¦ 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