[][src]Function fermium::surface::SDL_SetSurfaceAlphaMod

pub unsafe extern "C" fn SDL_SetSurfaceAlphaMod(
    surface: *mut SDL_Surface,
    alpha: u8
) -> c_int

Get the additional alpha value used in blit operations.

  • surface: The surface to query.
  • alpha: A pointer filled in with the current alpha value.

Return: 0 on success, or -1 if the surface is not valid.