Fix a compile error on macOS/iOS

This commit is contained in:
Alex Szpakowski
2020-05-21 20:08:43 -03:00
parent 5d570db398
commit 44033cd143
+1 -1
View File
@@ -155,7 +155,7 @@ double Timer::getTime()
static const mach_timebase_info_data_t info = getTimebaseInfo();
static const uint64_t start = mach_absolute_time();
const uint64_t rel = mach_absolute_time() - start;
return ((double) rel * 1.0e-9) * (double) info.number / (double) info.denom;
return ((double) rel * 1.0e-9) * (double) info.numer / (double) info.denom;
}
#elif defined(LOVE_WINDOWS)