mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
threaded pstats fix
This commit is contained in:
parent
591a2096b4
commit
0c2b6e3164
@ -156,7 +156,10 @@ get_thread_object(int index) const {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
INLINE double PStatClient::
|
||||
get_real_time() const {
|
||||
return get_impl()->get_real_time();
|
||||
if (has_impl()) {
|
||||
return _impl->get_real_time();
|
||||
}
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user