]> git.mxchange.org Git - flightgear.git/blobdiff - src/Objects/ssgEntityArray.cxx
Make a subtle change to tile loading/unloading policy in order to make the tile
[flightgear.git] / src / Objects / ssgEntityArray.cxx
index 031499b51bf634b19bf9aae72864bada5ce95eb6..d8ca2c64f37a2c8d58dff01cad50faa7094467cc 100644 (file)
@@ -21,6 +21,9 @@
      $Id$
 */
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
 
 #include "ssgEntityArray.hxx"
 
@@ -179,6 +182,7 @@ void ssgEntityArray::print ( FILE *fd, char *indent, int how_much )
 }
 
 
+#ifdef HAVE_PLIB_PSL
 void ssgEntityArray::getStats ( int *num_branches, int *num_leaves, int *num_tris, int *num_verts )
 {
   int nb, nl, nt, nv ;
@@ -194,6 +198,7 @@ void ssgEntityArray::getStats ( int *num_branches, int *num_leaves, int *num_tri
   *num_tris     += nt * locations->getNum() ;
   *num_verts    += nv * locations->getNum() ;
 }
+#endif
 
 
 void ssgEntityArray::cull ( sgFrustum *f, sgMat4 m, int test_needed )