mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[host] boost the priority to realtime (run as admin required)
This commit is contained in:
parent
8dec59f3ff
commit
9e75c7ab34
@ -50,6 +50,7 @@ struct StartupArgs
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdParam, int iCmdShow)
|
||||
{
|
||||
CrashHandler::Initialize();
|
||||
SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS);
|
||||
|
||||
struct StartupArgs args;
|
||||
args.foreground = false;
|
||||
|
Loading…
Reference in New Issue
Block a user