summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/p_debug.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-05-01 03:43:19 +0900
committerJosé Fonseca <[email protected]>2008-05-01 03:43:19 +0900
commitdadb11f5d96354975f1c9f7c8134bb4727129249 (patch)
tree04d4db7b989ccf0ceb1d0a9c4a756cc95857b409 /src/gallium/auxiliary/util/p_debug.c
parentcafb545721e6c9479c07d3a7a891236e006d3376 (diff)
gallium: Fix release build.
Diffstat (limited to 'src/gallium/auxiliary/util/p_debug.c')
-rw-r--r--src/gallium/auxiliary/util/p_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/p_debug.c b/src/gallium/auxiliary/util/p_debug.c
index 56eecaab622..f1fb07bf5b9 100644
--- a/src/gallium/auxiliary/util/p_debug.c
+++ b/src/gallium/auxiliary/util/p_debug.c
@@ -413,6 +413,7 @@ char *pf_sprint_name( char *str, enum pipe_format format )
}
+#ifdef DEBUG
void debug_print_format(const char *msg, unsigned fmt )
{
char fmtstr[80];
@@ -421,3 +422,4 @@ void debug_print_format(const char *msg, unsigned fmt )
debug_printf("%s: %s\n", msg, fmtstr);
}
+#endif \ No newline at end of file