Name threads for easier debugging

This commit is contained in:
Cameron Gutman
2019-05-03 21:18:58 -07:00
parent 18d1d35104
commit 53138d7c16
5 changed files with 7 additions and 4 deletions

View File

@@ -344,6 +344,9 @@ int main(int argc, char *argv[])
// Disable minimize on focus loss by default. Users seem to want this off by default.
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
// Allow thread naming
SDL_SetHint(SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING, "0");
QGuiApplication app(argc, argv);
// After the QGuiApplication is created, the platform stuff will be initialized