[][src]Function sdl2_sys::SDL_SetSurfaceBlendMode

pub unsafe extern "C" fn SDL_SetSurfaceBlendMode(
    surface: *mut SDL_Surface,
    blendMode: SDL_BlendMode
) -> c_int

\brief Set the blend mode used for blit operations.

\param surface The surface to update. \param blendMode ::SDL_BlendMode to use for blit blending.

\return 0 on success, or -1 if the parameters are not valid.

\sa SDL_GetSurfaceBlendMode()