Get info about a specific 2D rendering driver for the current display.
Defined in SDL_render.h
int SDL_GetRenderDriverInfo(int index,
SDL_RendererInfo * info);
int | index | the index of the driver to query information about. |
SDL_RendererInfo * | info | an SDL_RendererInfo structure to be filled with information on the rendering driver. |
(int) Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 2.0.0.