mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Fix clock-mode Config.prc setting
This commit is contained in:
parent
5b1cfd115c
commit
56194acf87
@ -24,7 +24,9 @@
|
|||||||
void CacheStats::
|
void CacheStats::
|
||||||
init() {
|
init() {
|
||||||
#ifndef NDEBUG
|
#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;
|
_total_cache_size = 0;
|
||||||
_num_states = 0;
|
_num_states = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user