I was trying to make an editing application based on OpenGL, and I have a vbo that hold the transformation matrices in it and then I use instanced rendering to draw all the instances for me, so if the user desired to add a new object; I have to resize the buffer, how would I do that?
By deleting the old buffer and generate new one then fill it with old data and add the new data?
Or just call glbufferdata without worrying about the buffer size?
Or there is a better idea to do what I wanted to?