SDL_Palette and SDL_Surface are read-only