Page 1 of 1

[Solved]OpenGL VBO Inconsistency

Posted: Mon Aug 06, 2012 2:42 am
by RandomDever
For some reason my VBOs are all the same. VBO 1, 2 and 3 are all the same no matter what.
Why would all my VBO being overwritten every time glBufferData is called?
Please Help! :shock:

Re: OpenGL VBO Inconsistency

Posted: Mon Aug 06, 2012 2:58 am
by RandomDever
And I may have solved my own problem. BUT for posterity and google searchers here is the (possible) solution.
You apparently must use glVertexPointer etc. every time you bind the VBO to draw with it.