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