From 3881abdfade04f992208296491498f0736e5ac81 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 10 Dec 2015 16:01:10 +0300 Subject: Add pointer to OpenGL function glBindAttribLocation. --- src/graphicsmanager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/graphicsmanager.cpp') diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 05e4de782..bd7347e53 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -978,6 +978,12 @@ void GraphicsManager::initOpenGLFunctions() } } + if (is20 || supportExtension("GL_ARB_explicit_attrib_location")) + { + logger->log1("found GL_ARB_explicit_attrib_location"); + assignFunction(glBindAttribLocation); + } + if (is12 && (is42 || supportExtension("GL_ARB_texture_storage"))) { logger->log1("found GL_ARB_texture_storage"); -- cgit v1.2.3-60-g2f50