| SDL_DestroyPalette(3) | SDL3 FUNCTIONS | SDL_DestroyPalette(3) |
SDL_DestroyPalette - Free a palette created with SDL_CreatePalette ().
Defined in SDL3/SDL_pixels.h
#include "SDL3/SDL.h"
void SDL_DestroyPalette(SDL_Palette *palette);
It is safe to call this function from any thread, as long as the palette is not modified or destroyed in another thread.
This function is available since SDL 3.2.0.
•(3), SDL_CreatePalette(3)
| SDL 3.2.10 | Simple Directmedia Layer |