DRAFT |
SDL_GetRendererOutputSize
Use this function to get the output size in pixels of a rendering context.
Contents
Syntax
int SDL_GetRendererOutputSize(SDL_Renderer* renderer,
int* w,
int* h)
Function Parameters
renderer |
the rendering context |
w |
an int filled with the width |
h |
an int filled with the height |
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
Version
This function is available since SDL 2.0.0.