summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/nouveau_screen.h
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2011-10-08 23:58:32 +0200
committerMarcin Slusarz <marcin.slusarz@gmail.com>2011-10-09 14:49:30 +0200
commit90dcd6c89ab4afa55ca19d572a1a695cf55cb1b2 (patch)
treef32247353993da621aec44b1260db6b958a9c862 /src/gallium/drivers/nouveau/nouveau_screen.h
parentf03810fbdd41012422f6920c2026c49927bcb820 (diff)
nouveau: hide some debugging messages behind environment variable
They spam console, but are not very useful - hide them behind NOUVEAU_MESA_DEBUG environment variable.
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_screen.h')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_screen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_screen.h b/src/gallium/drivers/nouveau/nouveau_screen.h
index 808500f3002..d2003e62f51 100644
--- a/src/gallium/drivers/nouveau/nouveau_screen.h
+++ b/src/gallium/drivers/nouveau/nouveau_screen.h
@@ -5,6 +5,8 @@
#include "util/u_memory.h"
typedef uint32_t u32;
+extern int nouveau_mesa_debug;
+
struct nouveau_bo;
struct nouveau_screen {