[][src]Function sdl2_sys::SDL_GetRenderDriverInfo

pub unsafe extern "C" fn SDL_GetRenderDriverInfo(
    index: c_int,
    info: *mut SDL_RendererInfo
) -> c_int

\brief Get information about a specific 2D rendering driver for the current display.

\param index The index of the driver to query information about. \param info A pointer to an SDL_RendererInfo struct to be filled with information on the rendering driver.

\return 0 on success, -1 if the index was out of range.

\sa SDL_CreateRenderer()