glMultiDrawArrays in QT?
It appears that glMultiDrawArrays is not available by default in QT's Opengl library. Is there anyway I can make it available 开发者_运维技巧in QT ?
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.
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.
精彩评论