From 2e28983ed2c06a20526759f3fedf8ee5bd21f7f6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 4 May 2019 10:00:08 -0600 Subject: [PATCH] glsl: s/GLboolean/bool/ to silence MSVC compiler warning It complains about mixing GLboolean and bool in the |= expression. Reviewed-by: Roland Scheidegger --- src/compiler/glsl/glsl_parser_extras.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { \ -- 2.30.2