trace: Prevent segfault when passing NULL to set_vertex_buffers.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 5 Nov 2012 11:18:07 +0000 (11:18 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 5 Nov 2012 11:18:07 +0000 (11:18 +0000)
commit3700bd115841958cc9c211475d3069298e4ff266
treecb8769809e384c5094b2f363dbd7d4cabcf692cb
parent99c45c5aa4b60e1fd55ff4fde6ff6d1a391987d9
trace: Prevent segfault when passing NULL to set_vertex_buffers.

State tracker now passes NULL buffer array to unbind buffers.
src/gallium/drivers/trace/tr_context.c
src/gallium/drivers/trace/tr_dump.h