Accessing Modern Open GL functions in Qt
-
http://stackoverflow.com/questions/23396717/accessing-modern-opengl-functions-from-qt-creator
Basically, I am following and adapting the Hello GL es examples, and I want to switch them over to the modern pipeline functions available since OpenGL 3.0. I am using Open GL 3.0.
When I am in the example projects, functions like this:
glEnableVertexAttribArray(0);
glBindBuffer(GL_ARRAY_BUFFER, vertexbuffer);
glVertexAttribPointer()Do not appear available in scope (i.e, they wont compile, do not come up in intelisense.)
Are these simply wrapped by Qt, or do I need to include some other libraries to get the rest of open gl?