aboutsummaryrefslogtreecommitdiff
path: root/games/colobot/files/patch-src_common_system_system__linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/colobot/files/patch-src_common_system_system__linux.cpp')
-rw-r--r--games/colobot/files/patch-src_common_system_system__linux.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/colobot/files/patch-src_common_system_system__linux.cpp b/games/colobot/files/patch-src_common_system_system__linux.cpp
new file mode 100644
index 000000000000..f8c50217d45b
--- /dev/null
+++ b/games/colobot/files/patch-src_common_system_system__linux.cpp
@@ -0,0 +1,11 @@
+--- src/common/system/system_linux.cpp.orig 2021-12-03 22:35:25 UTC
++++ src/common/system/system_linux.cpp
+@@ -98,7 +98,7 @@ void CSystemUtilsLinux::InterpolateTimeStamp(SystemTim
+
+ void CSystemUtilsLinux::GetCurrentTimeStamp(SystemTimeStamp *stamp)
+ {
+- clock_gettime(CLOCK_MONOTONIC_RAW, &stamp->clockTime);
++ clock_gettime(CLOCK_MONOTONIC, &stamp->clockTime);
+ }
+
+ long long CSystemUtilsLinux::TimeStampExactDiff(SystemTimeStamp *before, SystemTimeStamp *after)