if I wanted to resize a VBO (to make it bigger) how would I do it best?
What I currently do is:
glDeleteBuffers(vboId); vboId = glGenBuffers(); glBindBuffer(GL15.GL_ARRAY_BUFFER, vboId); glBufferData(GL15.GL_ARRAY_BUFFER, ..., GL_DYNAMIC_DRAW);
But could I do without the “glGenBuffers()”? Or even without the “glDeleteBuffers()”?
I am just not 100% sure and thats why I’d like to ask.
Thank you very much.