Don't use time-critical priority for VM thread

Fixes some unresponsiveness on Windows
This commit is contained in:
Cacodemon345
2025-07-30 23:00:46 +06:00
committed by GitHub
parent 325887a567
commit 00bcf6cbf9

View File

@@ -441,9 +441,6 @@ main_thread_fn()
int frames; int frames;
QThread::currentThread()->setPriority(QThread::HighestPriority); QThread::currentThread()->setPriority(QThread::HighestPriority);
#ifdef _WIN32
SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL);
#endif
plat_set_thread_name(nullptr, "main_thread_fn"); plat_set_thread_name(nullptr, "main_thread_fn");
framecountx = 0; framecountx = 0;
// title_update = 1; // title_update = 1;