summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_context.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-04-19 16:09:10 +0100
committerJakob Bornecrantz <[email protected]>2009-04-19 16:24:41 +0100
commitf2d2b3d8e2d9059c162ae7215344b9171f68632b (patch)
treebe2ff9fac5f57d5299e1021bdc2e5ddaad546b68 /src/gallium/drivers/trace/tr_context.c
parent439c42ae8b652f4fce59e5157c7e598280959684 (diff)
trace: Enable dumping to be turned on and off
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 38646f8aad3..47280459a75 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -1089,7 +1089,7 @@ trace_context_create(struct pipe_screen *_screen,
if(!pipe)
goto error1;
- if(!trace_dump_enabled())
+ if(!trace_dump_trace_enabled())
goto error1;
tr_scr = trace_screen(_screen);