From 95ea7cd538122ca0fc56dec276c6900ef47ae56d Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 27 Feb 2010 15:04:07 +0000 Subject: [PATCH] fix two remaining uses of sys_usetimegettime git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10017 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_shared.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys_shared.c b/sys_shared.c index a0e67f7b..c95612c4 100644 --- a/sys_shared.c +++ b/sys_shared.c @@ -233,7 +233,7 @@ void Sys_Init_Commands (void) } #endif #if HAVE_QUERYPERFORMANCECOUNTER - Cvar_RegisterVariable(&sys_usetimegettime); + Cvar_RegisterVariable(&sys_usequeryperformancecounter); #endif #if HAVE_CLOCKGETTIME Cvar_RegisterVariable(&sys_useclockgettime); @@ -273,7 +273,7 @@ double Sys_DoubleTime(void) { Con_Printf ("No hardware timer available\n"); // fall back to timeGetTime - Cvar_SetValueQuick(&sys_usetimegettime, true); + Cvar_SetValueQuick(&sys_usequeryperformancecounter, false); return Sys_DoubleTime(); } QueryPerformanceCounter (&PerformanceCount); -- 2.39.2