al_get_display_adapter(3alleg5)
π NAME π
okay bestie, this is the page for al_get_display_adapter(3alleg5), and the function itself is al_get_display_adapter β it's part of the Allegro 5 API. slay. β¨
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
int al_get_display_adapter(ALLEGRO_DISPLAY *display)
π¦ DESCRIPTION π¦
so like, this function returns which adapter the window is currently placed on. main character energy fr fr. π
and if it can't figure that out? it returns -1. specifically: -1 if there was an error in determining the adapter. not the vibe, but at least you know. π
πΈ SINCE πΈ
5.2.10 β she's been around since then, periodt. π
mwah π from the Allegro reference manual, page al_get_display_adapter(3alleg5). source/version: Allegro reference manual. date: not listed in the footer, bestie β that's the whole sign-off. π«Ά
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms