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