Function sdl2_sys::SDL_RenderClear
source ยท pub unsafe extern "C" fn SDL_RenderClear(
renderer: *mut SDL_Renderer,
) -> c_int
Expand description
\brief Clear the current rendering target with the drawing color
This function clears the entire rendering target, ignoring the viewport and the clip rectangle.
\return 0 on success, or -1 on error