-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Labels
Description
We merged #1690 on the assumption VAO is provided by OpenGL 3.0 or by GL_ARB_vertex_array_object:
But this code also makes use of glVertexArrayElementBuffer() and it looks like glVertexArrayElementBuffer() is from OpenGL 4.5, at least it's only part of the standard since 4.5:
Also is not listed in ARB_vertex_array_object:
This results in the glVertexArrayElementBuffer pointer being null in some drivers for hardware without OpenGL 4.5, leading to an engine crash.
OpenGL 4.5 is a very high version to require. Maybe there can be an alternative implementation of this specific function when OpenGL is older than 4.5, without reverting the whole change?