diff --git a/src/timer/unix/SDL_systimer.c b/src/timer/unix/SDL_systimer.c index 9a72d43685..eee14f1508 100644 --- a/src/timer/unix/SDL_systimer.c +++ b/src/timer/unix/SDL_systimer.c @@ -128,10 +128,7 @@ Uint64 SDL_GetPerformanceFrequency(void) #ifdef HAVE_CLOCK_GETTIME return SDL_NS_PER_SECOND; #elif defined(SDL_PLATFORM_APPLE) - Uint64 freq = mach_base_info.denom; - freq *= SDL_NS_PER_SECOND; - freq /= mach_base_info.numer; - return freq; + return SDL_NS_PER_SECOND; #endif }