(SDL3バージョンはSDL3/SDL_SetPaletteColorsを参照すること)
int SDL_SetPaletteColors(SDL_Palette* palette, const SDL_Color* colors, int firstcolor, int ncolors)