al_set_new...ay_adapter(3)
π al_set_new...ay_adapter(3) π
Okay bestie, this page comes from the Library Functions Manual, and itβs literally all about one Allegro 5 API function. π Short, sweet, iconic.
πΈ NAME πΈ
al_set_new_display_adapter β Allegro 5 API β¨
π¦ SYNOPSIS π¦
#include <allegro5/allegro.h>
void al_set_new_display_adapter(int adapter)
π DESCRIPTION π
Okay so al_set_new_display_adapter sets the adapter to use for new displays created by the calling thread. Slay. π«Ά
The adapter has a monitor attached to it, periodt. Information about the monitor can be gotten using al_get_num_video_adapters(3) and al_get_monitor_info(3). iykyk. π
To return to the default behaviour, pass ALLEGRO_DEFAULT_DISPLAY_ADAPTER. Thatβs the whole reset-to-default vibe. π
β SEE ALSO β
Thatβs the page, bestie π β cute lil sign-off from the footer: Allegro reference manual, page al_set_new...ay_adapter(3), and no separate date is listed on that footer line. πβ¨
π¦ 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