glsl: s/GLboolean/bool/ to silence MSVC compiler warning
authorBrian Paul <brianp@vmware.com>
Sat, 4 May 2019 16:00:08 +0000 (10:00 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 8 May 2019 16:05:41 +0000 (10:05 -0600)
It complains about mixing GLboolean and bool in the |= expression.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/compiler/glsl/glsl_parser_extras.cpp

index d99ab3d46ceef98b4ca4404089934b35983d8323..41f2a97dfff960aa577cca25465150cce3c990fb 100644 (file)
@@ -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) {                                                      \