[][src]Function sdl2_sys::SDL_RenderClear

pub unsafe extern "C" fn SDL_RenderClear(renderer: *mut SDL_Renderer) -> c_int

\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