summaryrefslogtreecommitdiff
path: root/src/mesa/main/debug.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-05-09 13:25:00 -0600
committerBrian Paul <brianp@vmware.com>2012-05-11 16:13:14 -0600
commitda35c2b38c1419690b6647fbc2f930cb04c6877f (patch)
tree6b2e2055e28a0fd4436542c1122eb5cc32ca30aa /src/mesa/main/debug.c
parent88cd47187c35fab89f5868d90a87a2d88232f871 (diff)
mesa: define DEBUG_SILENT flag, use in output_if_debug()
Diffstat (limited to 'src/mesa/main/debug.c')
-rw-r--r--src/mesa/main/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/debug.c b/src/mesa/main/debug.c
index 5f37f37aefd..0e73fcbfb65 100644
--- a/src/mesa/main/debug.c
+++ b/src/mesa/main/debug.c
@@ -203,6 +203,7 @@ set_debug_flags(const char *str)
GLbitfield flag;
};
static const struct option opts[] = {
+ { "silent", DEBUG_SILENT }, /* turn off debug messages */
{ "flush", DEBUG_ALWAYS_FLUSH } /* flush after each drawing command */
};
GLuint i;