Function fermium::surface::SDL_ConvertPixels
source · pub unsafe extern "C" fn SDL_ConvertPixels(
width: c_int,
height: c_int,
src_format: u32,
src: *const c_void,
src_pitch: c_int,
dst_format: u32,
dst: *mut c_void,
dst_pitch: c_int
) -> c_int
Expand description
Copy a block of pixels of one format to another format
Return: 0 on success, or -1 if there was an error