From: José Fonseca Date: Sat, 12 May 2012 15:59:41 +0000 (+0100) Subject: trace: Fix pipe_context::clear dumping. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd687e06f048c0100c04a9e7c5b2270717a7adc2;p=mesa.git trace: Fix pipe_context::clear dumping. --- diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c index 27bc6c538f6..ffaa3d06939 100644 --- a/src/gallium/drivers/trace/tr_context.c +++ b/src/gallium/drivers/trace/tr_context.c @@ -1198,10 +1198,12 @@ trace_context_clear(struct pipe_context *_pipe, trace_dump_arg(ptr, pipe); trace_dump_arg(uint, buffers); + trace_dump_arg_begin("color"); if (color) - trace_dump_arg_array(float, color->f, 4); + trace_dump_array(float, color->f, 4); else trace_dump_null(); + trace_dump_arg_end(); trace_dump_arg(float, depth); trace_dump_arg(uint, stencil);