svga: unbind index buffer when drawing non-indexed primitives
authorBrian Paul <brianp@vmware.com>
Mon, 22 Feb 2016 15:53:47 +0000 (08:53 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Feb 2016 19:14:48 +0000 (12:14 -0700)
commit9de3b0273d4fc01f5fdb5e9c9301a42575694d88
tree452e9096beffbabfea50ab7fe49549ba54a47942
parent571bd9ac4280b0d3c10281e9899afb33bc67d589
svga: unbind index buffer when drawing non-indexed primitives

Silences a warning reported by the svga3d device.

v2: also null-out the index buffer pointer

Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_draw.c