From e4d4ec9ddf3ee9b5963907c33c267cfd778f332c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 29 Oct 2013 14:09:46 -0600 Subject: [PATCH] glsl: fix MSVC int->bool conversion warning --- src/glsl/glsl_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } /** -- 2.30.2