|
Size: 1047
Comment: added DRAFT to top for removal after page is edited
|
Size: 967
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT|| | |
| Line 21: | Line 20: |
| Returns 0 on success or -1 if the index was out of range; call [[SDL_GetError]]() for more information. | Returns 0 on success or a negative error code on failure; call [[SDL_GetError]]() for more information. |
SDL_GetRenderDriverInfo
Use this function to get information about a specific 2D rendering driver for the current display.
Contents
Syntax
int SDL_GetRenderDriverInfo(int index,
SDL_RendererInfo* info)
Function Parameters
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 |
Return Value
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here
