The rendering context.
An int to be filled with the width.
An int to be filled with the height.
The presentation mode used.
true on success or false on failure; call SDL_GetError for more information.
Threadsafety: This function should only be called on the main thread.
Page generated by adrdox
Get device independent resolution and presentation mode for rendering.
This function gets the width and height of the logical rendering output, or the output size in pixels if a logical resolution is not enabled.