[−][src]Function sdl2_sys::SDL_SetSurfacePalette
pub unsafe extern "C" fn SDL_SetSurfacePalette(
surface: *mut SDL_Surface,
palette: *mut SDL_Palette
) -> c_int
\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.