table of contents
SDL_DestroyPalette(3) | SDL3 FUNCTIONS | SDL_DestroyPalette(3) |
NAME¶
SDL_DestroyPalette - 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.1.3.
SEE ALSO¶
•(3), SDL_CreatePalette(3)
SDL 3.1.6 | Simple Directmedia Layer |