]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
sys: fix "typo" in a3dac3bcfd962ee3b7ebcdb7afb777560679c29a
authorbones_was_here <bones_was_here@xonotic.au>
Sun, 5 May 2024 04:09:01 +0000 (14:09 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 9 May 2024 03:07:31 +0000 (13:07 +1000)
Signed-off-by: bones_was_here <bones_was_here@xonotic.au>
sys_shared.c

index 4222c42be414c88836cdfe48a87c73993482b554..e8220707383bacd7ae173c3a1c762044d54dc5a4 100644 (file)
@@ -456,7 +456,7 @@ double Sys_DirtyTime(void)
                struct timespec ts;
 #  ifdef CLOCK_MONOTONIC_RAW
                // Linux-specific, SDL_GetPerformanceCounter() uses it
-               clock_gettime(CLOCK_MONOTONIC, &ts);
+               clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
 #  elif defined(CLOCK_MONOTONIC)
                // POSIX
                clock_gettime(CLOCK_MONOTONIC, &ts);