ArchHooks_Win32::SetupConcurrentRenderingThread

This commit is contained in:
Glenn Maynard
2005-07-13 08:33:28 +00:00
parent 52f7324f37
commit f77ae43485
2 changed files with 6 additions and 0 deletions
@@ -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();