I don't understand why one of my vbo is overwritten by another
- by Alays
to create a vbo I use this function:
public void loadVBO(){
vboID = GL15.glGenBuffers();
GL15.glBindBuffer(GL15.GL_ARRAY_BUFFER, vboID);
GL15.glBufferData(GL15.GL_ARRAY_BUFFER, buf, GL15.GL_STATIC_DRAW);
// Put the position coordinates in attribute list 0
GL20.glVertexAttribPointer(0, 4, GL11.GL_FLOAT,
…