Clear VE if the last bound VBO was deleted without unbinding it explicitely

Merged Gert Wollny requested to merge gerddie/virglrenderer:fix-ve-use-after-free into master

In addition, if no VBO is bound bail out of draw_vbo, to avoid trying to dereference the pointer when filling the shader key.

Edited by Gert Wollny

Merge request reports