The rendering context.
A pointer filled in with the current width.
A pointer filled in with the current height.
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 the current output size in pixels of a rendering context.
If a rendering target is active, this will return the size of the rendering target in pixels, otherwise if a logical size is set, it will return the logical size, otherwise it will return the value of SDL_GetRenderOutputSize.