[−][src]Function sdl2_sys::SDL_ConvertPixels
pub unsafe extern "C" fn SDL_ConvertPixels(
width: c_int,
height: c_int,
src_format: Uint32,
src: *const c_void,
src_pitch: c_int,
dst_format: Uint32,
dst: *mut c_void,
dst_pitch: c_int
) -> c_int
\brief Copy a block of pixels of one format to another format
\return 0 on success, or -1 if there was an error