Browse Source

whoops, incorrect debug test

David Rose 17 years ago
parent
commit
8961c322f3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/pgraph/renderAttrib.cxx

+ 2 - 2
panda/src/pgraph/renderAttrib.cxx

@@ -443,8 +443,8 @@ release_new() {
         while (si != _attribs->end()) {
         while (si != _attribs->end()) {
           const RenderAttrib *attrib = (*si);
           const RenderAttrib *attrib = (*si);
           cerr << "    " << *attrib << " (" << (void *)attrib << ")\n";
           cerr << "    " << *attrib << " (" << (void *)attrib << ")\n";
-          if (!((*sprev) < (*si))) {
-            cerr << "*** out of order!\n";
+          if (((*sprev)->compare_to(*attrib)) > 0) {
+            cerr << "*** above out of order!\n";
           }
           }
           sprev = si;
           sprev = si;
           ++si;
           ++si;