]> git.sesse.net Git - nageru/blobdiff - gpu_timers.cpp
Split out the flow code from the example driver.
[nageru] / gpu_timers.cpp
index a72205125b2956bb9d32be441b20c5a249dc36ba..1e20cc1c791f733b0e0cb2a8720327579e287431 100644 (file)
@@ -4,6 +4,10 @@
 
 using namespace std;
 
+bool enable_timing = false;
+bool detailed_timing = false;
+bool in_warmup = false;
+
 pair<GLuint, GLuint> GPUTimers::begin_timer(const string &name, int level)
 {
        if (!enable_timing) {