diff options
author | Brian Paul <[email protected]> | 2019-05-04 10:00:08 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2019-05-08 10:05:41 -0600 |
commit | 2e28983ed2c06a20526759f3fedf8ee5bd21f7f6 (patch) | |
tree | f97e55d36e379770d1387a19f6fca0abb35039e3 /src/compiler/glsl/glsl_parser_extras.cpp | |
parent | ed5f0245156006341ef8cf39376572ffad246a23 (diff) |
glsl: s/GLboolean/bool/ to silence MSVC compiler warning
It complains about mixing GLboolean and bool in the |= expression.
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.cpp')
-rw-r--r-- | src/compiler/glsl/glsl_parser_extras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_parser_extras.cpp b/src/compiler/glsl/glsl_parser_extras.cpp index d99ab3d46ce..41f2a97dfff 100644 --- a/src/compiler/glsl/glsl_parser_extras.cpp +++ b/src/compiler/glsl/glsl_parser_extras.cpp @@ -2226,7 +2226,7 @@ do_common_optimization(exec_list *ir, bool linked, bool native_integers) { const bool debug = false; - GLboolean progress = GL_FALSE; + bool progress = false; #define OPT(PASS, ...) do { \ if (debug) { \ |