summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2013-10-06 15:41:54 +0000
committerAlexander von Gluck IV <[email protected]>2013-10-10 19:28:23 -0500
commit0fda1cb498b1308f09679b1947fd038f680dffb8 (patch)
treee966a275b537014117fbd98c7691468b85cb3d50 /src/gallium/targets/haiku-softpipe/GalliumContext.cpp
parent69508950da30a1319d2a7063226c4316bfd01e3c (diff)
haiku: Fix llvmpipe and clean up softpipe tracing
* Fix LLVM library and defines * Only enable tracing when scons build=debug Acked-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/targets/haiku-softpipe/GalliumContext.cpp')
-rw-r--r--src/gallium/targets/haiku-softpipe/GalliumContext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
index 92ea67ab290..ba76ddaee89 100644
--- a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
+++ b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
@@ -32,8 +32,7 @@ extern "C" {
}
-#define TRACE_CONTEXT
-#ifdef TRACE_CONTEXT
+#ifdef DEBUG
# define TRACE(x...) printf("GalliumContext: " x)
# define CALLED() TRACE("CALLED: %s\n", __PRETTY_FUNCTION__)
#else