openframeworks/openFrameworks — pull request #3123 by patrickFuerst (2014-07-31 18:00:42+00:00)
Title: solved issue with glDrawElements

when using glDrawElements the index buffer never gets bound. By adding
it to the bind method it gets added to the VAO state when VAO is used
or bound when not. To test use a VBO and and a mesh with setMesh and
draw with drawElements