diff --git a/panda/src/display/graphicsEngine.cxx b/panda/src/display/graphicsEngine.cxx index 5afcc896a9..57e5edd931 100644 --- a/panda/src/display/graphicsEngine.cxx +++ b/panda/src/display/graphicsEngine.cxx @@ -1454,6 +1454,8 @@ terminate_threads() { _threads.clear(); } + +#ifdef DO_PSTATS //////////////////////////////////////////////////////////////////// // Function: GraphicsEngine::pstats_count_cycler_type // Access: Private, Static @@ -1489,7 +1491,7 @@ pstats_count_dirty_cycler_type(TypeHandle type, int count, void *data) { } (*ci).second.set_level(count); } - +#endif // DO_PSTATS //////////////////////////////////////////////////////////////////// // Function: GraphicsEngine::get_invert_polygon_state // Access: Protected, Static