]> git.lizzy.rs Git - shadowclad.git/blobdiff - performance.c
Remove reduntant glutSetWindowTitle()
[shadowclad.git] / performance.c
index 267cf36622229885a4296509ba9e72d86b2cb913..443652cedccbaae87b648c6ca6bf0c2f0354067f 100644 (file)
@@ -1,3 +1,7 @@
+#ifndef _POSIX_C_SOURCE
+#define _POSIX_C_SOURCE 199309L
+#endif
+
 #include <stdbool.h>
 #include <stdio.h> // TODO remove
 #include <time.h>
@@ -10,6 +14,8 @@ static Timepoint lastDisplayTime;
 static int frames = 0;
 static bool meteringEnabled = false;
 
+
+
 void initPerformanceMetering() {
        if (clock_gettime(CLOCK_MONOTONIC, &lastDisplayTime) != 0) {
                logWarning("Clock read failed, performance metering unavailable");