|
Size: 770
Comment: update content - 2/14 changeset 5295 (as of 5145); moved to render.h
|
← Revision 8 as of 2013-08-11 12:21:55 ⇥
Size: 854
Comment: Addeding missing comma in prototype.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| Use this function to get information about the current rendering context. | Use this function to get information about a rendering context. |
| Line 11: | Line 11: |
| int SDL_GetRendererInfo(SDL_RendererInfo* info) | int SDL_GetRendererInfo(SDL_Renderer* renderer, SDL_RendererInfo* info) |
| Line 15: | Line 16: |
| ||'''renderer'''||the rendering context|| |
SDL_GetRendererInfo
Use this function to get information about a rendering context.
Contents
Syntax
int SDL_GetRendererInfo(SDL_Renderer* renderer,
SDL_RendererInfo* info)
Function Parameters
renderer |
the rendering context |
info |
an SDL_RendererInfo structure filled with information about the current renderer |
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
