Function fermium::surface::SDL_GetSurfaceBlendMode [−][src]
pub unsafe extern "C" fn SDL_GetSurfaceBlendMode(
surface: *mut SDL_Surface,
blendMode: *mut SDL_BlendMode
) -> c_int
Get the blend mode used for blit operations.
surface
: The surface to query.blendMode
: A pointer filled in with the current blend mode.
Return: 0 on success, or -1 if the surface is not valid.