modified patricks vbo code not to use any extensions like vao/glmapbuffer