Browse Source

pgraph: fix int return from bool method

rdb 6 years ago
parent
commit
24783924d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pgraph/shaderInput.I

+ 1 - 1
panda/src/pgraph/shaderInput.I

@@ -502,7 +502,7 @@ operator < (const ShaderInput &other) const {
     if (_stored_vector[3] != other._stored_vector[3]) {
       return _stored_vector[3] < other._stored_vector[3];
     }
-    return 0;
+    return false;
 
   case M_numeric:
     return _stored_ptr._ptr < other._stored_ptr._ptr;