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 πŸ‘‘


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 πŸŒˆβ­πŸ’œ