include/SDL_hints.h
changeset 11072 4d8984d051a2
parent 9255 c2ef0d8d6da0
child 11073 18f38a347662
     1.1 --- a/include/SDL_hints.h	Tue Dec 02 21:18:50 2014 -0500
     1.2 +++ b/include/SDL_hints.h	Wed Dec 03 04:41:26 2014 -0800
     1.3 @@ -119,6 +119,17 @@
     1.4  #define SDL_HINT_RENDER_DIRECT3D11_DEBUG    "SDL_RENDER_DIRECT3D11_DEBUG"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling the scaling policy for SDL_RenderSetLogicalSize.
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0" or "letterbox" - Uses letterbox/sidebars to fit the entire rendering on screen
    1.11 + *    "1" or "overscan"  - Will zoom the rendering so it fills the entire screen, allowing edges to be drawn offscreen
    1.12 + *
    1.13 + *  By default letterbox is used
    1.14 + */
    1.15 +#define SDL_HINT_RENDER_LOGICAL_SIZE_MODE       "SDL_HINT_RENDER_LOGICAL_SIZE_MODE"
    1.16 +
    1.17 +/**
    1.18   *  \brief  A variable controlling the scaling quality
    1.19   *
    1.20   *  This variable can be set to the following values: