浏览代码

pgraph: fix int return from bool method

rdb 6 年之前
父节点
当前提交
24783924d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;