Function fermium::renderer::SDL_GetRenderDriverInfo
source · pub unsafe extern "C" fn SDL_GetRenderDriverInfo(
index: c_int,
info: *mut SDL_RendererInfo
) -> c_int
Expand description
Get information about a specific 2D rendering driver for the current display.
index
The index of the driver to query information about.info
A pointer to an SDL_RendererInfo struct to be filled with information on the rendering driver.
Returns: 0 on success, -1 if the index was out of range.
See Also: SDL_CreateRenderer