trace: Fix pipe_context::clear dumping.
authorJosé Fonseca <jfonseca@vmware.com>
Sat, 12 May 2012 15:59:41 +0000 (16:59 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sat, 12 May 2012 16:10:31 +0000 (17:10 +0100)
src/gallium/drivers/trace/tr_context.c

index 27bc6c538f649257d75588765127a601c7a5dc5f..ffaa3d06939e40432f09655e82e9216055d6441e 100644 (file)
@@ -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);