summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-04-06 08:25:22 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-04-06 08:27:53 +0100
commit740282b417caca6c1f223f488ee9a6f9bff81164 (patch)
tree881440fead6afabb0a4e7ff5bf0447d721a13ab0 /src/mesa/main/debug.c
parentdcbc9be38ecea30506198d0db037cbf532f070e4 (diff)
downloadexternal_mesa3d-740282b417caca6c1f223f488ee9a6f9bff81164.zip
external_mesa3d-740282b417caca6c1f223f488ee9a6f9bff81164.tar.gz
external_mesa3d-740282b417caca6c1f223f488ee9a6f9bff81164.tar.bz2
mesa: Recognize MESA_VERBOSE=all as shortcut for all debug options.
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r--src/mesa/main/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 2a8fd08..e7f6be9 100644
--- 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;
}