mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
glsl: fix MSVC int->bool conversion warning
This commit is contained in:
parent
3c11bc6a5a
commit
e4d4ec9ddf
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ struct glsl_type {
|
|||
*/
|
||||
bool contains_atomic() const
|
||||
{
|
||||
return atomic_size();
|
||||
return atomic_size() > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue