projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcbc9be
)
mesa: Recognize MESA_VERBOSE=all as shortcut for all debug options.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Wed, 6 Apr 2011 07:25:22 +0000
(08:25 +0100)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Wed, 6 Apr 2011 07:27:53 +0000
(08:27 +0100)
src/mesa/main/debug.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/debug.c
b/src/mesa/main/debug.c
index 2a8fd08806cfe6343525c71d50a9401a82cbce75..e7f6be99481e9dd7c078efd616e69136da851498 100644
(file)
--- a/
src/mesa/main/debug.c
+++ b/
src/mesa/main/debug.c
@@
-183,7
+183,7
@@
static void add_debug_flags( const char *debug )
MESA_VERBOSE = 0x0;
for (i = 0; i < Elements(debug_opt); i++) {
- if (strstr(debug, debug_opt[i].name))
+ if (strstr(debug, debug_opt[i].name)
|| strcmp(debug, "all") == 0
)
MESA_VERBOSE |= debug_opt[i].flag;
}