SDL Wiki
(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)


A variable controlling the scaling policy for SDL_RenderSetLogicalSize.

Header File

Defined in SDL_hints.h




This variable can be set to the following values:

"0" or "letterbox" - Uses letterbox/sidebars to fit the entire rendering on screen "1" or "overscan" - Will zoom the rendering so it fills the entire screen, allowing edges to be drawn offscreen

By default letterbox is used

CategoryAPI, CategoryAPIMacro, CategoryHints

[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.