GET_DISPLAY_SWITCH_MODE(3alleg4)
β¨ get_display_switch_mode β¨
okay bestie, welcome to the Allegro manual π this one's a lil baby page but it's important, trust.
π NAME π
get_display_switch_mode β returns the current display switching mode. Part of the Allegro game programming library, no cap. π
πΈ SYNOPSIS πΈ
#include <allegro.h>
int get_display_switch_mode();
that's it. one line, zero arguments, she's low maintenance π
π¦ DESCRIPTION π¦
So likeβ¦ this function hands you back the current display switching mode, and the format it gives it to you in is exactly the same format you'd pass to set_display_switch_mode(). like, same vibe, same shape, they match fr fr. π«Ά
so if you're sitting there like "hmm what mode are we even in rn" β this is the girly you call. she just tells you. no drama, no side effects, just the mode. periodt. β¨
π SEE ALSO π
set_display_switch_mode(3alleg4)β the one that sets it, obviously, the setter to this getter, they're a matched set π§exswitch(3alleg4)β the example, go look at it, it's giving educational π
not me writing a whole glow-up for a function that takes zero arguments and returns one int π she ate though. she ate.
mwah π that's the whole page! Allegro version 4.4.3, bestie β go forth and switch those displays, you absolute icon πβπ
π¦ 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