Reputation: 99
It appears that glMultiDrawArrays is not available by default in QT's Opengl library. Is there anyway I can make it available in QT ?
Upvotes: 0
Views: 381
Reputation: 72221
Qt is only responsible for creating an OpenGL context, not for providing OpenGL calls.
Try using a loader library like gl3w or GLEW in order to access modern OpenGL features.
Upvotes: 3
Reputation: 56347
There is no such thing as Qt's OpenGL library, OpenGL is handled by your OS, Qt only provides a wrapper for platform-independent OpenGL Context and Window creation.
Whatever that function is available or not depends on your OpenGL drivers, OpenGL headers, etc.
Upvotes: 1