diff options
author | Brian Paul <[email protected]> | 2013-10-29 14:09:46 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-10-31 08:21:58 -0600 |
commit | e4d4ec9ddf3ee9b5963907c33c267cfd778f332c (patch) | |
tree | a6a79b50d739d3b490fb2a40807866a7b598296c /src | |
parent | 3c11bc6a5a8416b62cdc353feebf6c210db27c4d (diff) |
glsl: fix MSVC int->bool conversion warning
Diffstat (limited to 'src')
-rw-r--r-- | src/glsl/glsl_types.h | 2 |
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; } /** |