Clear VE if the last bound VBO was deleted without unbinding it explicitely
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
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
In addition, if no VBO is bound bail out of draw_vbo, to avoid trying to dereference the pointer when filling the shader key.