SDL_DestroyPalette - Man Page
Free a palette created with SDL_CreatePalette ().
Header File
Defined in SDL3/SDL_pixels.h
Synopsis
#include "SDL3/SDL.h" void SDL_DestroyPalette(SDL_Palette *palette);
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.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_CreatePalette(3)
Referenced By
SDL 3.2.8 Simple Directmedia Layer SDL3 FUNCTIONS