Merged Eric Wing's overscan patch.

Fixes Bugzilla #2799.
This commit is contained in:
Ryan C. Gordon 2017-06-06 14:06:40 -04:00
commit 260c6a36e6
2 changed files with 71 additions and 14 deletions

View file

@ -118,6 +118,17 @@ extern "C" {
*/
#define SDL_HINT_RENDER_DIRECT3D11_DEBUG "SDL_RENDER_DIRECT3D11_DEBUG"
/**
* \brief A variable controlling the scaling policy for SDL_RenderSetLogicalSize.
*
* 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
*/
#define SDL_HINT_RENDER_LOGICAL_SIZE_MODE "SDL_HINT_RENDER_LOGICAL_SIZE_MODE"
/**
* \brief A variable controlling the scaling quality
*