pub unsafe extern "C" fn SDL_SetSurfacePalette(
    surface: *mut SDL_Surface,
    palette: *mut SDL_Palette
) -> c_int
Expand description

\brief Set the palette used by a surface.

\return 0, or -1 if the surface format doesn’t use a palette.

\note A single palette can be shared with many surfaces.