include/SDL_hints.h
changeset 5484 e20c93bc9122
parent 5272 3c94c559f5c2
child 5535 96594ac5fd1a
equal deleted inserted replaced
5483:ccec742c9b7d 5484:e20c93bc9122
    96  *  By default shaders are used if OpenGL supports them.
    96  *  By default shaders are used if OpenGL supports them.
    97  */
    97  */
    98 #define SDL_HINT_RENDER_OPENGL_SHADERS      "SDL_RENDER_OPENGL_SHADERS"
    98 #define SDL_HINT_RENDER_OPENGL_SHADERS      "SDL_RENDER_OPENGL_SHADERS"
    99 
    99 
   100 /**
   100 /**
       
   101  *  \brief  A variable controlling the scaling quality
       
   102  *
       
   103  *  This variable can be set to the following values:
       
   104  *    "0" or "nearest" - Nearest pixel sampling
       
   105  *    "1" or "linear"  - Linear filtering (supported by OpenGL and Direct3D)
       
   106  *    "2" or "best"    - Anisotropic filtering (supported by Direct3D)
       
   107  *
       
   108  *  By default nearest pixel sampling is used
       
   109  */
       
   110 #define SDL_HINT_RENDER_SCALE_QUALITY       "SDL_RENDER_SCALE_QUALITY"
       
   111 
       
   112 /**
   101  *  \brief  A variable controlling whether updates to the SDL 1.2 screen surface should be synchronized with the vertical refresh, to avoid tearing.
   113  *  \brief  A variable controlling whether updates to the SDL 1.2 screen surface should be synchronized with the vertical refresh, to avoid tearing.
   102  *
   114  *
   103  *  This variable can be set to the following values:
   115  *  This variable can be set to the following values:
   104  *    "0"       - Disable vsync
   116  *    "0"       - Disable vsync
   105  *    "1"       - Enable vsync
   117  *    "1"       - Enable vsync