Can I delete OpenGL vertex arrays after calling glDrawArrays?
I am generating the vertex arrays on the fly on each render and I want to delete the arrays afterwards. Does glDrawArrays immediately copy the vertex arrays to the server? Hence is it safe to delete the vertex arrays after calling glDrawArrays? float * vp = GetVertices(); // Regenerated on each render glVertexPointer(3, GL_FLOAT, 3 * s...