Skip to content

Commit 55bea8d

Browse files
committed
Safer to disable this, even though it makes windows fuck around with our threads.
1 parent b2c0fb1 commit 55bea8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,9 @@ int main(int argc, char **argv) {
429429
#ifdef WIN32
430430
// Stops framespiking from our child threads being sat on for too long
431431
// TODO: use a better thread system that'll do what we want ASAP instead of letting the OS schedule all over us
432-
SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
432+
// Disabled for now because windows is great and this means when the game lags out it freezes the entire computer. Which we wouldn't expect with anything but REALTIME priority.
433+
// Because apparently high priority class is preferred over "processing mouse input"?!
434+
//SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
433435
#endif // WIN32
434436

435437
// argv[0] actually unreliable for exe path and name, because of course, why would it be, why would anything be simple and make sense.

0 commit comments

Comments
 (0)