1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-10-17 22:01:07 +00:00

Update glfw.cpp

This commit is contained in:
blingu 2020-08-07 17:51:43 +02:00 committed by GitHub
parent 4b6cc0188b
commit 8392b9ad2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,7 +211,7 @@ psTimer(void)
struct timespec start;
#ifdef __linux__
clock_gettime(CLOCK_MONOTONIC_RAW, &start);
#elif __FreeBSD__
#else
clock_gettime(CLOCK_MONOTONIC, &start);
#endif
return start.tv_sec * 1000.0 + start.tv_nsec/1000000.0;