AL_GET_NUM_VIDEO_ADAPTERS(3)

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

✨ NAME ✨

al_get_num_video_adapters β€” Allegro 5 API πŸŽ€

okay so bestie, this is the al_get_num_video_adapters(3) page from the Library Functions Manual, and it's here to answer one very specific question: how many video adapters are we working with? πŸ’…

🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

int al_get_num_video_adapters(void)

πŸ¦‹ DESCRIPTION πŸ¦‹

Get the number of video β€œadapters” attached to the computer. Every video card attached to the computer counts as one or more adapters. So an adapter is really a video port that can have a monitor connected to it, fr fr πŸ–₯️✨

On Windows, use al_set_new_display_flags(3) to switch between the Direct3D and OpenGL backends β€” and those will often have different adapters available. iykyk πŸ‘€πŸ”₯

πŸ’– SEE ALSO πŸ’–


That's the whole page, mwah πŸ’‹ β€” brought to you by the Allegro reference manual as the al_get_num...eo_adapters(3) page, with no date in the footer, just the manual name and page title doing their iconic thing πŸ’–βœ¨

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