blob: bc64d90cd4620b9486beb6472fa9f7198126e98d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
diff --git libgltf/src/FPSCounter.h libgltf/src/FPSCounter.h
index c6c4279..66f7e2b 100644
--- libgltf/src/FPSCounter.h
+++ libgltf/src/FPSCounter.h
@@ -7,6 +7,11 @@
*/
#ifndef FPSCOUNTER_H
#define FPSCOUNTER_H
+
+#define ENABLE_FPS 0
+
+#if ENABLE_FPS
+
#include "time.h"
#include "Font.h"
#include "Shaders.h"
@@ -17,7 +22,6 @@
#define WRITEFPS2FILE 1
#define TIMETHRESHOLD 30
-#define ENABLE_FPS 1
#define FPS_FILE "./FPSCounter.txt"
#if WRITEFPS2FILE
#include <iostream>
@@ -136,4 +140,6 @@ private:
#endif
};
+#endif // ENABLE_FPS
+
#endif
|