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 π
select_palette(3alleg4)β the one that did the thing you're now undoing π
mwah π that's the whole page, and it came to you straight from Allegro version 4.4.3. go forth and un-select, queen πβ¨πΈπ¦π
π¦ 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