diff options
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index c7e4777e1..7e7e4230f 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -1029,6 +1029,13 @@ void GraphicsManager::initOpenGLFunctions() assignFunction(glProgramUniform3f, "glProgramUniform3f"); assignFunction(glProgramUniform4f, "glProgramUniform4f"); } + if (checkGLVersion(4, 3) + || supportExtension("GL_ARB_vertex_attrib_binding")) + { + assignFunction(glBindVertexBuffer, "glBindVertexBuffer"); + assignFunction(glVertexAttribBinding, "glVertexAttribBinding"); + assignFunction(glVertexAttribFormat, "glVertexAttribFormat"); + } } else { |