Re: [Mesa-dev] [PATCH 4/6] glsl: Avoid GLboolean vs bool arithmetic MSVC warnings.

2015-03-18 Thread Ian Romanick
On 03/18/2015 09:34 AM, Jose Fonseca wrote: > Note that GLboolean is an alias for unsigned char, which lacks the > implicit true/false semantics that C++/C99 bool have. > --- > src/glsl/linker.cpp | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/src/glsl/linker.cpp

[Mesa-dev] [PATCH 4/6] glsl: Avoid GLboolean vs bool arithmetic MSVC warnings.

2015-03-18 Thread Jose Fonseca
Note that GLboolean is an alias for unsigned char, which lacks the implicit true/false semantics that C++/C99 bool have. --- src/glsl/linker.cpp | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 0c44677..1abcb32 100644 --- a/