summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 7e7e4230f..cfed98cb1 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -1024,18 +1024,37 @@ void GraphicsManager::initOpenGLFunctions()
if (checkGLVersion(4, 1)
|| supportExtension("GL_ARB_separate_shader_objects"))
{
+ logger->log1("found GL_ARB_separate_shader_objects");
assignFunction(glProgramUniform1f, "glProgramUniform1f");
assignFunction(glProgramUniform2f, "glProgramUniform2f");
assignFunction(glProgramUniform3f, "glProgramUniform3f");
assignFunction(glProgramUniform4f, "glProgramUniform4f");
}
+ else
+ {
+ logger->log1("GL_ARB_separate_shader_objects not supported");
+ }
if (checkGLVersion(4, 3)
|| supportExtension("GL_ARB_vertex_attrib_binding"))
{
+ logger->log1("found GL_ARB_vertex_attrib_binding");
assignFunction(glBindVertexBuffer, "glBindVertexBuffer");
assignFunction(glVertexAttribBinding, "glVertexAttribBinding");
assignFunction(glVertexAttribFormat, "glVertexAttribFormat");
}
+ else
+ {
+ logger->log1("GL_ARB_vertex_attrib_binding not supported");
+ }
+ if (checkGLVersion(4, 4) || supportExtension("GL_ARB_multi_bind"))
+ {
+ logger->log1("found GL_ARB_multi_bind");
+ assignFunction(glBindVertexBuffers, "glBindVertexBuffers");
+ }
+ else
+ {
+ logger->log1("GL_ARB_multi_bind not supported");
+ }
}
else
{