From: José Fonseca Date: Mon, 11 Aug 2008 17:09:36 +0000 (+0100) Subject: trace: Dump polygon stipple state as an array. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e54fa77d130582ee48b699917324040ef254ed74;p=mesa.git trace: Dump polygon stipple state as an array. --- diff --git a/src/gallium/drivers/trace/tr_state.c b/src/gallium/drivers/trace/tr_state.c index 961705b9eec..e074ae7abc1 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);