include/SDL_hints.h
changeset 5484 e20c93bc9122
parent 5272 3c94c559f5c2
child 5535 96594ac5fd1a
     1.1 --- a/include/SDL_hints.h	Sun Mar 13 11:17:11 2011 -0700
     1.2 +++ b/include/SDL_hints.h	Sun Mar 13 11:18:35 2011 -0700
     1.3 @@ -98,6 +98,18 @@
     1.4  #define SDL_HINT_RENDER_OPENGL_SHADERS      "SDL_RENDER_OPENGL_SHADERS"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling the scaling quality
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0" or "nearest" - Nearest pixel sampling
    1.11 + *    "1" or "linear"  - Linear filtering (supported by OpenGL and Direct3D)
    1.12 + *    "2" or "best"    - Anisotropic filtering (supported by Direct3D)
    1.13 + *
    1.14 + *  By default nearest pixel sampling is used
    1.15 + */
    1.16 +#define SDL_HINT_RENDER_SCALE_QUALITY       "SDL_RENDER_SCALE_QUALITY"
    1.17 +
    1.18 +/**
    1.19   *  \brief  A variable controlling whether updates to the SDL 1.2 screen surface should be synchronized with the vertical refresh, to avoid tearing.
    1.20   *
    1.21   *  This variable can be set to the following values: