Browse Source

Fixing a very old bug

Josh Yelon 19 years ago
parent
commit
7afd31f361
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/shaderAttrib.cxx

+ 1 - 1
panda/src/pgraph/shaderAttrib.cxx

@@ -339,7 +339,7 @@ compare_to_impl(const RenderAttrib *other) const {
   if (i1 != this->_inputs.end()) {
     return 1;
   }
-  if (i1 != that->_inputs.end()) {
+  if (i2 != that->_inputs.end()) {
     return -1;
   }