al_get_new...ay_adapter(3)
al_get_new...ay_adapter(3) π
okay so this page is from the Library Functions Manual, and it's serving pure Allegro 5 API energy. It's a tiny one, but it's iconic. Let's go. β¨
π NAME π
al_get_new_display_adapter β Allegro 5 API
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
int al_get_new_display_adapter(void)
π DESCRIPTION π
Okay bestie, so this function gets the video adapter index where new displays are gonna be created by the calling thread β but only if it was previously set with al_set_new_display_adapter(3). If nobody set it? It returns ALLEGRO_DEFAULT_DISPLAY_ADAPTER. That's the whole vibe, no cap. π
π¦ SEE ALSO π¦
al_set_new_display_adapter(3)β go peek at this one too, iykyk.
sign-off, bestie β source/version: Allegro reference manual, page al_get_new...ay_adapter(3). Date: not listed on this page, 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