Always set checked_monotonic_time when calling CheckMonotonicTime()

This commit is contained in:
Petar Popovic authored and Sam Lantinga committed 2024-10-03 17:11:34 -07:00
1 parent 020fb6889c
commit d4143e02d1
1 file changed
+1 -1
+1 -1
View File
@@ -73,7 +73,7 @@ static void CheckMonotonicTime(void)
struct timespec value;
if (clock_gettime(SDL_MONOTONIC_CLOCK, &value) == 0) {
has_monotonic_time = true;
} else
}
#elif defined(SDL_PLATFORM_APPLE)
if (mach_timebase_info(&mach_base_info) == 0) {
has_monotonic_time = true;