![]() |
|
Unbinding VBO's - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: Graphics & Audio Programming (/forum-9.html) +--- Thread: Unbinding VBO's (/thread-7933.html) |
Unbinding VBO's - Bersaelor - Aug 2, 2010 03:21 AM Hey, since I started to issue a second "draw" call for the UI of my game, I have to somehow unbind the VBO's that I bound with Code: glBindBuffer(GL_ARRAY_BUFFER, *vertexBuffer);So as I understood, one just calls Code: glBindBuffer(GL_VERTEX_ARRAY, 0);Any hints on this my friends? RE: Unbinding VBO's - OneSadCookie - Aug 2, 2010 07:10 AM GL_VERTEX_ARRAY is not a legal constant there. RE: Unbinding VBO's - Bersaelor - Aug 2, 2010 08:29 AM (Aug 2, 2010 07:10 AM)OneSadCookie Wrote: GL_VERTEX_ARRAY is not a legal constant there. Ah, frack, that's what happens when one uses Xcode's autocomplete to much. Thanks ! |