diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-08-11 18:09:36 +0100 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-08-12 11:34:41 +0100 |
commit | e54fa77d130582ee48b699917324040ef254ed74 (patch) | |
tree | e8b0f6c6d9ebff60ba0dd1be5898caa7e3b4be99 /src/gallium/drivers/trace/tr_state.c | |
parent | e08072c5db137e3fc19964ea8705c62cb00b6343 (diff) |
trace: Dump polygon stipple state as an array.
Diffstat (limited to 'src/gallium/drivers/trace/tr_state.c')
-rw-r--r-- | src/gallium/drivers/trace/tr_state.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/trace/tr_state.c b/src/gallium/drivers/trace/tr_state.c index 961705b9ee..e074ae7abc 100644 --- a/src/gallium/drivers/trace/tr_state.c +++ b/src/gallium/drivers/trace/tr_state.c @@ -150,9 +150,10 @@ void trace_dump_poly_stipple(struct trace_stream *stream, trace_dump_struct_begin(stream, "pipe_poly_stipple"); trace_dump_member_begin(stream, "stipple"); - trace_dump_bytes(stream, + trace_dump_array(stream, + uint, state->stipple, - sizeof(state->stipple)); + Elements(state->stipple)); trace_dump_member_end(stream); trace_dump_struct_end(stream); |