SDL_DestroyPalette3
Free a palette created with sdl_createpalette ().
Usage
#include "SDL3/SDL.h"
void SDL_DestroyPalette(SDL_Palette *palette);
Header file
Defined in SDL3/SDL_pixels.h
Function parameters
- palette
-
the
SDL_Palette
structure to be freed.
Thread safety
It is safe to call this function from any thread, as long as the palette is not modified or destroyed in another thread.