[][src]Function sdl2_sys::SDL_SetSurfaceColorMod

pub unsafe extern "C" fn SDL_SetSurfaceColorMod(
    surface: *mut SDL_Surface,
    r: Uint8,
    g: Uint8,
    b: Uint8
) -> c_int

\brief Set an additional color value used in blit operations.

\param surface The surface to update. \param r The red color value multiplied into blit operations. \param g The green color value multiplied into blit operations. \param b The blue color value multiplied into blit operations.

\return 0 on success, or -1 if the surface is not valid.

\sa SDL_GetSurfaceColorMod()