David Rose 23 years ago
parent
commit
747f7b97dc

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

@@ -202,8 +202,8 @@ make_default_pipe() {
   PipeTypes::const_iterator ti;
   PipeTypes::const_iterator ti;
 
 
   if (!_default_pipe_name.empty()) {
   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) {
     for (ti = _pipe_types.begin(); ti != _pipe_types.end(); ++ti) {
       const PipeType &ptype = (*ti);
       const PipeType &ptype = (*ti);
       if (cmp_nocase_uh(ptype._type.get_name(), _default_pipe_name) == 0) {
       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
 //               are available for creation.  Normally there is one
 //               default interactive GraphicsPipe, and possibly other
 //               default interactive GraphicsPipe, and possibly other
 //               types available as well.
 //               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 {
 class EXPCL_PANDA GraphicsPipeSelection {
 protected:
 protected: