diff options
author | Jakob Bornecrantz <[email protected]> | 2009-04-17 15:52:05 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-04-17 16:03:01 +0200 |
commit | 5800e0aad1e803fbe2a1e1a7f8abcdff58699901 (patch) | |
tree | 68907cb724217711d81eaeeb6f158495c4fb5653 /src/gallium/drivers/trace/tr_dump.c | |
parent | dbb90436f8385a33b9938c66a0fa3eff8c36a4cc (diff) |
trace: Simplify trace_buffer function
Diffstat (limited to 'src/gallium/drivers/trace/tr_dump.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_dump.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c index 2618883e70d..d2a7664ed9b 100644 --- a/src/gallium/drivers/trace/tr_dump.c +++ b/src/gallium/drivers/trace/tr_dump.c @@ -425,8 +425,7 @@ void trace_dump_ptr(const void *value) void trace_dump_buffer_ptr(struct pipe_buffer *_buffer) { if (_buffer) { - struct trace_screen *tr_scr = trace_screen(_buffer->screen); - struct trace_buffer *tr_buf = trace_buffer(tr_scr, _buffer); + struct trace_buffer *tr_buf = trace_buffer(_buffer); trace_dump_ptr(tr_buf->buffer); } else { trace_dump_null(); |