Skip to content

Commit

Permalink
Set D3D background shader optimization threads to Lowest priority (up…
Browse files Browse the repository at this point in the history
… from Idle)
  • Loading branch information
Kaldaien committed Nov 29, 2024
1 parent dcd9193 commit 188c1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ SK_Thread_SetWin10NameFromException (THREADNAME_INFO *pTni)
{
// Running these threads at idle priority leads to optimal shaders
// never being compiled in CPU-heavy games.
SetThreadPriority (hThread.m_h, THREAD_PRIORITY_NORMAL);
SetThreadPriority (hThread.m_h, THREAD_PRIORITY_LOWEST);
}
}
}
Expand Down

0 comments on commit 188c1d3

Please sign in to comment.