git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10017
d7cf8633-e32d-0410-b094-
e92efae38249
}
#endif
#if HAVE_QUERYPERFORMANCECOUNTER
- Cvar_RegisterVariable(&sys_usetimegettime);
+ Cvar_RegisterVariable(&sys_usequeryperformancecounter);
#endif
#if HAVE_CLOCKGETTIME
Cvar_RegisterVariable(&sys_useclockgettime);
{
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);