include/SDL_hints.h
changeset 8535 e8ee0708ef5c
parent 8533 89cf2a2635d1
parent 7764 0f48b5f28668
child 8537 ea81cf5b6252
     1.1 --- a/include/SDL_hints.h	Sun Oct 27 14:31:57 2013 -0400
     1.2 +++ b/include/SDL_hints.h	Sun Oct 27 21:26:46 2013 -0400
     1.3 @@ -95,6 +95,17 @@
     1.4  #define SDL_HINT_RENDER_OPENGL_SHADERS      "SDL_RENDER_OPENGL_SHADERS"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling whether the Direct3D device is initialized for thread-safe operations.
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0"       - Thread-safety is not enabled (faster)
    1.11 + *    "1"       - Thread-safety is enabled
    1.12 + *
    1.13 + *  By default the Direct3D device is created with thread-safety disabled.
    1.14 + */
    1.15 +#define SDL_HINT_RENDER_DIRECT3D_THREADSAFE "SDL_RENDER_DIRECT3D_THREADSAFE"
    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:
    1.21 @@ -271,6 +282,11 @@
    1.22  #define SDL_HINT_TIMER_RESOLUTION "SDL_TIMER_RESOLUTION"
    1.23  
    1.24  
    1.25 +/**
    1.26 + *  \brief If set to 1, then do not allow high-DPI windows. ("Retina" on Mac)
    1.27 + */
    1.28 +#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_VIDEO_HIGHDPI_DISABLED"
    1.29 +
    1.30  
    1.31  /**
    1.32   *  \brief  An enumeration of hint priorities