Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Update glfw.cpp
  • Loading branch information
nrb547 committed Aug 7, 2020
1 parent 4b6cc01 commit 8392b9ad2fc578fd42dc9b5fa27a5da175bf92f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/skel/glfw/glfw.cpp
@@ -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;

0 comments on commit 8392b9a

Please sign in to comment.