diff --git a/glslang/Include/Types.h b/glslang/Include/Types.h index eb57c3a0..edd5cfc7 100644 --- a/glslang/Include/Types.h +++ b/glslang/Include/Types.h @@ -2003,7 +2003,7 @@ public: { // Most commonly, they are both nullptr, or the same pointer to the same actual structure if ((!isStruct() && !right.isStruct()) || - isStruct() && right.isStruct() && structure == right.structure) + (isStruct() && right.isStruct() && structure == right.structure)) return true; // Both being nullptr was caught above, now they both have to be structures of the same number of elements