ArchHooks_Win32::SetupConcurrentRenderingThread
This commit is contained in:
@@ -220,6 +220,11 @@ void ArchHooks_Win32::UnBoostPriority()
|
||||
SetPriorityClass( GetCurrentProcess(), NORMAL_PRIORITY_CLASS );
|
||||
}
|
||||
|
||||
void ArchHooks_Win32::SetupConcurrentRenderingThread()
|
||||
{
|
||||
SetThreadPriority( GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL );
|
||||
}
|
||||
|
||||
static bool g_bTimerInitialized;
|
||||
static DWORD g_iStartTime;
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ public:
|
||||
|
||||
void BoostPriority();
|
||||
void UnBoostPriority();
|
||||
void SetupConcurrentRenderingThread();
|
||||
|
||||
private:
|
||||
void CheckVideoDriver();
|
||||
|
||||
Reference in New Issue
Block a user