sdlDestroyPalette function
Free a palette created with SDL_CreatePalette().
\param palette the SDL_Palette structure to be freed.
\threadsafety It is safe to call this function from any thread, as long as the palette is not modified or destroyed in another thread.
\since This function is available since SDL 3.1.3.
\sa SDL_CreatePalette
extern SDL_DECLSPEC void SDLCALL SDL_DestroyPalette(SDL_Palette *palette)
Implementation
void sdlDestroyPalette(Pointer<SdlPalette> palette) {
final sdlDestroyPaletteLookupFunction = libSdl3.lookupFunction<
Void Function(Pointer<SdlPalette> palette),
void Function(Pointer<SdlPalette> palette)>('SDL_DestroyPalette');
return sdlDestroyPaletteLookupFunction(palette);
}