I want to use the function glBufferData to fill up some indices/vertices. But I have my arrays in a std::vector and the glBufferData only allows char*.
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(m_indicesEBO), m_indicesEBO, GL_STATIC_DRAW);
How can I use std::vector here?