adding index buffers to opengl