radeonsi: don't leak an index buffer if draw_vbo fails
authorMarek Olšák <marek.olsak@amd.com>
Tue, 22 Jan 2019 22:29:19 +0000 (17:29 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 6 Feb 2019 16:17:21 +0000 (11:17 -0500)
commit2c4911c652fa2dc1204892809a134b38d752a3ca
tree1a08898918ef810f4fb041064f6c00c11ed0a28f
parentd72c3198677c8bc276db3f75bc84fd25cf0293f5
radeonsi: don't leak an index buffer if draw_vbo fails

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c