From d4143e02d14b234efd7d33491e8dd9db058bb98c Mon Sep 17 00:00:00 2001 From: Petar Popovic Date: Thu, 3 Oct 2024 23:48:57 +0200 Subject: [PATCH] Always set checked_monotonic_time when calling CheckMonotonicTime() --- src/timer/unix/SDL_systimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer/unix/SDL_systimer.c b/src/timer/unix/SDL_systimer.c index b9c9ac2334..3bfd3b9097 100644 --- a/src/timer/unix/SDL_systimer.c +++ b/src/timer/unix/SDL_systimer.c @@ -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;