Original Post
i have really been having a hard time trying to build an index buffer in opengl. it is fairly trivial in direct x. i have created a vbo which contains the indices. the problem is where to go from here. i found arb information that suggest not putting this in the same buffer as my main vbo because the graphics card may not allow ibo in vram, id prefer to do it by the book and not screw up caching of some section of the pipeline
glGenBuffers(1, &m_IndexBuffer);
glBindBuffer(GL_ARRAY_BUFFER, m_IndexBuffer);
glBufferData(GL_ARRAY_BUFFER, 2*m_numIndices, m_pIndices, GL_STATIC_DRAW);