Gary
Gary

Reputation: 99

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 ?

Upvotes: 0

Views: 381

Answers (2)

Kos
Kos

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

Dr. Snoopy
Dr. Snoopy

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

Related Questions