summaryrefslogtreecommitdiff
path: root/src/glsl
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-10-29 14:09:46 -0600
committerBrian Paul <brianp@vmware.com>2013-10-31 08:21:58 -0600
commite4d4ec9ddf3ee9b5963907c33c267cfd778f332c (patch)
treea6a79b50d739d3b490fb2a40807866a7b598296c /src/glsl
parent3c11bc6a5a8416b62cdc353feebf6c210db27c4d (diff)
glsl: fix MSVC int->bool conversion warning
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/glsl_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h
index fdb1f3a6efb..96eee5e64eb 100644
--- 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;
}
/**