include/SDL_hints.h
changeset 10498 f6f1cc3caa95
parent 10455 19b0a2227da1
child 10499 363c1c7e7a41
     1.1 --- a/include/SDL_hints.h	Fri Oct 07 19:08:22 2016 -0700
     1.2 +++ b/include/SDL_hints.h	Fri Sep 30 09:26:57 2016 -0400
     1.3 @@ -689,6 +689,17 @@
     1.4  #define SDL_HINT_BMP_SAVE_LEGACY_FORMAT "SDL_BMP_SAVE_LEGACY_FORMAT"
     1.5  
     1.6  /**
     1.7 + * \brief Tell SDL not to name threads on Windows.
     1.8 + *
     1.9 + * The variable can be set to the following values:
    1.10 + *   "0"       - SDL will raise the 0x406D1388 Exception to name threads.
    1.11 + *               This is the default behavior of SDL <= 2.0.4. (default)
    1.12 + *   "1"       - SDL will not raise this exception, and threads will be unnamed.
    1.13 + *               For .NET languages this is required when running under a debugger.
    1.14 + */
    1.15 +#define SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING "SDL_WINDOWS_DISABLE_THREAD_NAMING"
    1.16 +
    1.17 +/**
    1.18   *  \brief  An enumeration of hint priorities
    1.19   */
    1.20  typedef enum