summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/trace/tr_context.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-05-16 01:49:11 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-05-16 01:50:53 +0100
commitf04c38fa1fab0fe640b89d0de82fa44e2ee984a9 (patch)
tree4538ba73698f520230854ad235ae37608d9201cb /src/gallium/drivers/trace/tr_context.c
parentee05658798c047876ccd9e5cd33e12eee1dd8758 (diff)
trace: Export enabled status
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.c')
-rw-r--r--src/gallium/drivers/trace/tr_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index e51af2451b..a416628562 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -1124,7 +1124,7 @@ trace_context_create(struct pipe_screen *_screen,
if(!pipe)
goto error1;
- if(!trace_dump_trace_enabled())
+ if(!trace_enabled())
goto error1;
tr_scr = trace_screen(_screen);