mirror of
https://github.com/halpz/re3.git
synced 2025-06-26 20:56:22 +00:00
Update glfw.cpp
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user