Wiki Page Content

Revision 1 as of 2013-10-31 21:41:27

Clear message

DRAFT

SDL_GetRendererOutputSize

Use this function to get the output size of a rendering context.

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.


CategoryAPI, CategoryRender

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit