summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace/tr_context.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-10-26 15:05:14 +0100
committerJosé Fonseca <[email protected]>2012-10-26 16:02:59 +0100
commitce10624e9e827921b503962e2eb04ce0eb06246a (patch)
treebfb9d9b91e1c78b0efbefceb1b9e63a8bc8efc5d /src/gallium/drivers/trace/tr_context.c
parent91332e455a530b86f897874919da29efa563fdf3 (diff)
trace: Flush before drawing.
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.c')
-rw-r--r--src/gallium/drivers/trace/tr_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index a1333e5a132..a5110bec487 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -94,6 +94,8 @@ trace_context_draw_vbo(struct pipe_context *_pipe,
trace_dump_arg(ptr, pipe);
trace_dump_arg(draw_info, info);
+ trace_dump_trace_flush();
+
pipe->draw_vbo(pipe, info);
trace_dump_call_end();