Browse Source

fix o4 buildbreak

cxgeorge 24 years ago
parent
commit
e079bbca6d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/glgsg/glGraphicsStateGuardian.cxx

+ 2 - 0
panda/src/glgsg/glGraphicsStateGuardian.cxx

@@ -527,7 +527,9 @@ render_frame() {
   report_errors();
   report_errors();
   _decal_level = 0;
   _decal_level = 0;
 
 
+#ifdef DO_PSTATS
   _vertices_display_list_pcollector.clear_level();
   _vertices_display_list_pcollector.clear_level();
+#endif
 
 
   // First, clear the entire window.
   // First, clear the entire window.
   clear_framebuffer();
   clear_framebuffer();