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_NONE if 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 πŸŽ€βœ¨