projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69932ab
)
Parenthesize to avoid GCC warning
author
David Neto
<dneto@google.com>
Tue, 8 Jan 2019 23:57:03 +0000
(18:57 -0500)
committer
David Neto
<dneto@google.com>
Tue, 8 Jan 2019 23:57:03 +0000
(18:57 -0500)
glslang/Include/Types.h
patch
|
blob
|
history
diff --git
a/glslang/Include/Types.h
b/glslang/Include/Types.h
index
eb57c3a
..
edd5cfc
100644
(file)
--- 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