Function fermium::surface::SDL_SaveBMP[][src]

pub unsafe fn SDL_SaveBMP(
    surface: *mut SDL_Surface,
    file: *const c_char
) -> c_int

Save an SDL_Surface to the file path specified.

Return: As SDL_SaveBMP_RW: 0 if successful or -1 if there was an error.