Set the palette used by a surface.
A single palette can be shared with many surfaces.
the SDL_Surface structure to update.
the SDL_Palette structure to use.
true on success or false on failure; call SDL_GetError() for more information.
SDL_CreatePalette SDL_GetSurfacePalette
See Implementation
Set the palette used by a surface.
A single palette can be shared with many surfaces.