[−][src]Function sdl2_sys::SDL_GetSurfaceColorMod
pub unsafe extern "C" fn SDL_GetSurfaceColorMod(
surface: *mut SDL_Surface,
r: *mut Uint8,
g: *mut Uint8,
b: *mut Uint8
) -> c_int
\brief Get the additional color value used in blit operations.
\param surface The surface to query. \param r A pointer filled in with the current red color value. \param g A pointer filled in with the current green color value. \param b A pointer filled in with the current blue color value.
\return 0 on success, or -1 if the surface is not valid.
\sa SDL_SetSurfaceColorMod()