mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 07:28:59 +00:00
Update glfw.cpp
This commit is contained in:
parent
4b6cc0188b
commit
8392b9ad2f
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ psTimer(void)
|
||||||
struct timespec start;
|
struct timespec start;
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
clock_gettime(CLOCK_MONOTONIC_RAW, &start);
|
clock_gettime(CLOCK_MONOTONIC_RAW, &start);
|
||||||
#elif __FreeBSD__
|
#else
|
||||||
clock_gettime(CLOCK_MONOTONIC, &start);
|
clock_gettime(CLOCK_MONOTONIC, &start);
|
||||||
#endif
|
#endif
|
||||||
return start.tv_sec * 1000.0 + start.tv_nsec/1000000.0;
|
return start.tv_sec * 1000.0 + start.tv_nsec/1000000.0;
|
||||||
|
|
Loading…
Reference in a new issue