How to use OpenGL VAO?
Solved
General and Desktop
-
The following code is causing error in class inherited from QOpenGLWidget & QOpenGLFunctions.
GLuint VertexArrayID; glGenVertexArrays(1, &VertexArrayID); glBindVertexArray(VertexArrayID);
Platform: Windows, Visual studio 2015
Error: glGenVertexArrays and glBindVertexArray are not found(C3861 identifier not found) -
@veenusav said in How to use Open GL VAO in Qt for desktop?:
glBindVertexArray
Hi
Disclaimer: OpenGl newbieHowever, if u read here
http://www.kdab.com/opengl-in-qt-5-1-part-1/it seems that glBindVertexArray seems to be hidden in
QOpenGLVertexArrayObject
http://doc.qt.io/qt-5/qopenglvertexarrayobject.html