Free a palette created with SDL_CreatePalette().
Defined in <SDL3/SDL_pixels.h>
void SDL_DestroyPalette(SDL_Palette * palette);
palette | the SDL_Palette structure to be freed |
This function is available since SDL 3.0.0.
CategoryAPI, CategoryAPIFunction