Browse Source

Fix clock-mode Config.prc setting

rdb 10 years ago
parent
commit
56194acf87
1 changed files with 3 additions and 1 deletions
  1. 3 1
      panda/src/pgraph/cacheStats.cxx

+ 3 - 1
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;