Function sdl2_sys::SDL_UpperBlit
source ยท pub unsafe extern "C" fn SDL_UpperBlit(
src: *mut SDL_Surface,
srcrect: *const SDL_Rect,
dst: *mut SDL_Surface,
dstrect: *mut SDL_Rect,
) -> c_int
Expand description
Perform a fast blit from the source surface to the destination surface.
SDL_UpperBlit() has been replaced by SDL_BlitSurface(), which is merely a macro for this function with a less confusing name.
\since This function is available since SDL 2.0.0.
\sa SDL_BlitSurface