logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_DestroyPalette - Free a palette created with SDL_CreatePalette().

Availability

       This function is available since SDL 3.2.0.

Function Parameters

palette
              the SDL_Palette structure to be freed.

Name

       SDL_DestroyPalette - Free a palette created with SDL_CreatePalette().

See Also

SDL_CreatePalette(3)

Simple Directmedia Layer                           SDL 3.2.20                              SDL_DestroyPalette(3)

Synopsis

#include<SDL3/SDL_pixels.h>voidSDL_DestroyPalette(SDL_Palette*palette);

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.

See Also