sdlayer: Disable Windows thread naming because it interferes with debugging.

git-svn-id: https://svn.eduke32.com/eduke32@5902 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-10-20 06:26:14 +00:00
parent 942964ec3d
commit 1d7c67fd68

View file

@ -409,6 +409,11 @@ int32_t main(int32_t argc, char *argv[])
}
#endif
#if defined _WIN32 && defined SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING
// Thread naming interferes with debugging using MinGW-w64's GDB.
SDL_SetHint(SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, "1");
#endif
int32_t r;
#ifdef USE_OPENGL