- Backend update from Raze.

This commit is contained in:
Christoph Oelckers 2022-11-06 08:42:09 +01:00
commit c55dfbcddd
11 changed files with 100 additions and 22 deletions

View file

@ -68,7 +68,7 @@ static uint64_t GetClockTimeNS()
{
auto tp = GetTimePoint() - StartupTimeNS;
if (TimeScale == 1.0) return tp;
else return tp / 1000 * TimeScale * 1000;
else return uint64_t(tp / 1000 * TimeScale * 1000);
}
static uint64_t MSToNS(unsigned int ms)