summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_screen.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_screen.c
parent439c42ae8b652f4fce59e5157c7e598280959684 (diff)
trace: Enable dumping to be turned on and off
Diffstat (limited to 'src/gallium/drivers/trace/tr_screen.c')
-rw-r--r--src/gallium/drivers/trace/tr_screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_screen.c b/src/gallium/drivers/trace/tr_screen.c
index 7205dfd1d99..549525b82a5 100644
--- a/src/gallium/drivers/trace/tr_screen.c
+++ b/src/gallium/drivers/trace/tr_screen.c
@@ -843,6 +843,8 @@ trace_screen_create(struct pipe_screen *screen)
if(!trace_dump_trace_begin())
goto error1;
+ trace_dumping_start();
+
trace_dump_call_begin("", "pipe_screen_create");
tr_scr = CALLOC_STRUCT(trace_screen);