Talk:Vertex Array Object

From OpenGL.org
Jump to: navigation, search

GL_ARRAY_BUFFER

On the one hand, there is a note that says that Changing the GL_ARRAY_BUFFER binding does not affect VAO state. But on the other hand, a few lines down, there is the statement about the pseudo-code update: pBufferObj <= current GL_ARRAY_BUFFER binding.

I see, pBufferObj is updated as a result of VertexAttribPointer(), not as a result of glBindBuffer().