unselect_palette(3alleg4)

πŸ’– unselect_palette β€” the Allegro manual, bestie edition πŸ’–

okay so real talk, this one lives in the Allegro game programming library, and it's the little "undo" button for your palette vibes. no cap.


✨ NAME ✨

unselect_palette β€” puts back the palette that was chillin' there before the last time you called select_palette(). it's an Allegro game programming library thing, iykyk πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

void unselect_palette();

🌸 DESCRIPTION 🌸

okay bestie, listen. it restores the palette tables that were in use before the last call to select_palette().

that's it. that's the whole thing. it's giving ctrl+z for your palette. iconic, lowkey, and honestly? a lifesaver 🫢


πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’œ that's the whole page, and it came to you straight from Allegro version 4.4.3. go forth and un-select, queen πŸ‘‘βœ¨πŸŒΈπŸ¦‹πŸŽ€