Browse Source

Move Some Functions Under #ifdef .... PVIEW

Roger Hughston 20 years ago
parent
commit
5daca17ee6
1 changed files with 3 additions and 1 deletions
  1. 3 1
      panda/src/display/graphicsEngine.cxx

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