mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
pgraph: fix int return from bool method
This commit is contained in:
parent
cef70a4fe5
commit
24783924d0
@ -502,7 +502,7 @@ operator < (const ShaderInput &other) const {
|
|||||||
if (_stored_vector[3] != other._stored_vector[3]) {
|
if (_stored_vector[3] != other._stored_vector[3]) {
|
||||||
return _stored_vector[3] < other._stored_vector[3];
|
return _stored_vector[3] < other._stored_vector[3];
|
||||||
}
|
}
|
||||||
return 0;
|
return false;
|
||||||
|
|
||||||
case M_numeric:
|
case M_numeric:
|
||||||
return _stored_ptr._ptr < other._stored_ptr._ptr;
|
return _stored_ptr._ptr < other._stored_ptr._ptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user