From 56194acf87d1c51ef12be27d84189ac57e8df4a6 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 19 Dec 2015 15:34:34 +0100 Subject: [PATCH] Fix clock-mode Config.prc setting --- panda/src/pgraph/cacheStats.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/pgraph/cacheStats.cxx b/panda/src/pgraph/cacheStats.cxx index ffbc79533f..aa6556db3f 100644 --- a/panda/src/pgraph/cacheStats.cxx +++ b/panda/src/pgraph/cacheStats.cxx @@ -24,7 +24,9 @@ void CacheStats:: init() { #ifndef NDEBUG - reset(ClockObject::get_global_clock()->get_real_time()); + // Let's not use the clock at static init time. + reset(0.0); + //reset(ClockObject::get_global_clock()->get_real_time()); _total_cache_size = 0; _num_states = 0;