mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 08:30:10 +01:00
trace: Don't try to dump the rgba array if null
This commit is contained in:
parent
c7adb4ff1e
commit
977f7d48ee
1 changed files with 4 additions and 1 deletions
|
|
@ -1063,7 +1063,10 @@ trace_context_clear(struct pipe_context *_pipe,
|
|||
|
||||
trace_dump_arg(ptr, pipe);
|
||||
trace_dump_arg(uint, buffers);
|
||||
trace_dump_arg_array(float, rgba, 4);
|
||||
if (rgba)
|
||||
trace_dump_arg_array(float, rgba, 4);
|
||||
else
|
||||
trace_dump_null();
|
||||
trace_dump_arg(float, depth);
|
||||
trace_dump_arg(uint, stencil);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue