glsl: add parens in shader_integer_mix() to silence compiler warning
authorBrian Paul <brianp@vmware.com>
Tue, 5 May 2015 21:41:15 +0000 (15:41 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 5 May 2015 22:00:53 +0000 (16:00 -0600)
commit0beaf1cd9a9a882b4f896dc1865622d72488ff31
treea38af4819ee5b5b0220e13418f8e1b23a4683c1f
parentf7bdb2f3724808d6a280471847300abe192d4f5a
glsl: add parens in shader_integer_mix() to silence compiler warning

Silences gcc warning:
builtin_functions.cpp:204:23: warning: suggest parentheses around '&&'
within '||' [-Wparentheses]

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/glsl/builtin_functions.cpp