get_gfx_mode(3alleg4)
β¨ NAME β¨
get_gfx_mode β bestie, this one tells you the id of the current graphics driver π part of the Allegro game programming library, no cap.
π SYNOPSIS π
#include <allegro.h>
int get_gfx_mode();
π¦ DESCRIPTION π¦
okay so this function lets you figure out which graphics driver Allegro has currently set. that's it, that's the whole vibe check π
and if no graphics driver is set? it hands you back GFX_NONE. literally just that. iconic behaviour honestly.
π RETURN VALUE π
- Returns the id of the current graphics driver if there is one π
- Returns
GFX_NONEif none is set π«Ά
that's the whole deal, periodt.
πΈ SEE ALSO πΈ
mwah π sending you off with the Allegro manual, version 4.4.3 β go slay, bestie, and remember: GFX_NONE is not a personality, it just means nobody's driving yet πβ¨
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms