projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed5f024
)
glsl: s/GLboolean/bool/ to silence MSVC compiler warning
author
Brian Paul
<brianp@vmware.com>
Sat, 4 May 2019 16:00:08 +0000
(10:00 -0600)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/glsl_parser_extras.cpp
b/src/compiler/glsl/glsl_parser_extras.cpp
index
d99ab3d
..
41f2a97
100644
(file)
--- 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) { \