Function SDL_DestroyPalette
pub unsafe extern "C" fn SDL_DestroyPalette(palette: *mut SDL_Palette)
Available on crate feature
dep_sdl3
only.Expand description
Free a palette created with SDL_CreatePalette()
.
§Parameters
palette
: theSDL_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.