David Rose 20 лет назад
Родитель
Сommit
8f087a2d56
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      panda/src/putil/pipeline.cxx

+ 4 - 3
panda/src/putil/pipeline.cxx

@@ -20,6 +20,7 @@
 #include "pipelineCyclerTrueImpl.h"
 #include "pipelineCyclerTrueImpl.h"
 #include "reMutexHolder.h"
 #include "reMutexHolder.h"
 #include "configVariableInt.h"
 #include "configVariableInt.h"
+#include "config_util.h"
 
 
 Pipeline *Pipeline::_render_pipeline = (Pipeline *)NULL;
 Pipeline *Pipeline::_render_pipeline = (Pipeline *)NULL;
 
 
@@ -197,9 +198,9 @@ set_num_stages(int num_stages) {
   }
   }
 
 
 #else  // THREADED_PIPELINE
 #else  // THREADED_PIPELINE
-  if (_num_stages != 1) {
-    display_cat.warning()
-      << "Requested " << pipeline_stages
+  if (num_stages != 1) {
+    util_cat.warning()
+      << "Requested " << num_stages
       << " pipeline stages but multithreaded render pipelines not enabled in build.\n";
       << " pipeline stages but multithreaded render pipelines not enabled in build.\n";
   }
   }
   _num_stages = 1;
   _num_stages = 1;