From 2aa4aa702d7493d29db46b87539a9477d0f6c4c0 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 4 May 2005 05:47:14 +0000 Subject: [PATCH] compile without PSTATS --- panda/src/glstuff/glGraphicsStateGuardian_src.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index 3923e10aee..7d517b1014 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx @@ -64,9 +64,7 @@ #include "config_gobj.h" #include "mutexHolder.h" #include "indirectLess.h" -#ifdef DO_PSTATS #include "pStatTimer.h" -#endif #ifdef HAVE_CGGL #include "cgShaderAttrib.h" #endif @@ -1113,9 +1111,7 @@ end_frame() { } { -#ifdef DO_PSTATS PStatTimer timer(_flush_pcollector); -#endif // Calling glFlush() at the end of the frame is particularly // necessary if this is a single-buffered visual, so that the frame // will be finished drawing before we return to the application.