David Rose 23 年之前
父節點
當前提交
747f7b97dc
共有 2 個文件被更改,包括 2 次插入9 次删除
  1. 2 2
      panda/src/display/graphicsPipeSelection.cxx
  2. 0 7
      panda/src/display/graphicsPipeSelection.h

+ 2 - 2
panda/src/display/graphicsPipeSelection.cxx

@@ -202,8 +202,8 @@ make_default_pipe() {
   PipeTypes::const_iterator ti;
 
   if (!_default_pipe_name.empty()) {
-    // First, look for an exact match of the requested type (excepting
-    // case and hyphen/underscore).
+    // First, look for an exact match of the default type name from
+    // the Configrc file (excepting case and hyphen/underscore).
     for (ti = _pipe_types.begin(); ti != _pipe_types.end(); ++ti) {
       const PipeType &ptype = (*ti);
       if (cmp_nocase_uh(ptype._type.get_name(), _default_pipe_name) == 0) {

+ 0 - 7
panda/src/display/graphicsPipeSelection.h

@@ -35,13 +35,6 @@ class GraphicsWindow;
 //               are available for creation.  Normally there is one
 //               default interactive GraphicsPipe, and possibly other
 //               types available as well.
-//
-//               This is used to manage creation of a GraphicsPipe
-//               when you don't particularly care what kind of pipe
-//               you create; you just want to render to the screen.
-//               If your application does have a preference, you can
-//               of course invoke the appropriate GraphicsPipe
-//               constructor yourself.
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDA GraphicsPipeSelection {
 protected: