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