diff options
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 938c0ccf1..4661563e2 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -1054,6 +1054,16 @@ void GraphicsManager::initOpenGLFunctions() { logger->log1("GL_ARB_vertex_attrib_binding not supported"); } + if (checkGLVersion(4, 3) + || supportExtension("GL_ARB_invalidate_subdata")) + { + logger->log1("found GL_ARB_invalidate_subdata"); + assignFunction(glInvalidateTexImage, "glInvalidateTexImage"); + } + else + { + logger->log1("GL_ARB_invalidate_subdata not supported"); + } if (checkGLVersion(4, 4) || supportExtension("GL_ARB_multi_bind")) { logger->log1("found GL_ARB_multi_bind"); |