projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c11bc6
)
glsl: fix MSVC int->bool conversion warning
author
Brian Paul
<brianp@vmware.com>
Tue, 29 Oct 2013 20:09:46 +0000
(14:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 31 Oct 2013 14:21:58 +0000
(08:21 -0600)
src/glsl/glsl_types.h
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_types.h
b/src/glsl/glsl_types.h
index fdb1f3a6efbf0c099e24e99208b53cd9adc8bffc..96eee5e64eb69b483512fed80187fa1feec90fde 100644
(file)
--- a/
src/glsl/glsl_types.h
+++ b/
src/glsl/glsl_types.h
@@
-459,7
+459,7
@@
struct glsl_type {
*/
bool contains_atomic() const
{
- return atomic_size();
+ return atomic_size()
> 0
;
}
/**