summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/trace/tr_state.c5
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);