windows: Change the default on SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING.
It's easier for Visual Studio users that want this information to turn it on or live without it, than it is to explain why every debugger that isn't Visual Studio crashes out here. Eventually SetThreadDescription() will be the thing everyone uses anyhow. Fixes Bugzilla #3645. (and several others).
This commit is contained in:
1 parent
d844487799
commit
6d661cab7b
2 files changed
+10
-5
No files matched your search
@@ -199,7 +199,7 @@ SDL_SYS_SetupThread(const char *name)
|
||||
THREADNAME_INFO inf;
|
||||
|
||||
/* C# and friends will try to catch this Exception, let's avoid it. */
|
||||
if (SDL_GetHintBoolean(SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, SDL_FALSE)) {
|
||||
if (SDL_GetHintBoolean(SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, SDL_TRUE)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user