mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
oops
This commit is contained in:
parent
50320a6a28
commit
26912f6bbb
@ -249,7 +249,7 @@ add_level(float increment) {
|
|||||||
INLINE void PStatCollector::
|
INLINE void PStatCollector::
|
||||||
sub_level(float decrement) {
|
sub_level(float decrement) {
|
||||||
#ifndef HAVE_THREADS
|
#ifndef HAVE_THREADS
|
||||||
_client->sub_level(_index, 0, decrement);
|
_client->add_level(_index, 0, -decrement);
|
||||||
#else // HAVE_THREADS
|
#else // HAVE_THREADS
|
||||||
sub_level(_client->get_current_thread(), decrement);
|
sub_level(_client->get_current_thread(), decrement);
|
||||||
#endif // HAVE_THREADS
|
#endif // HAVE_THREADS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user