diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-08 01:32:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-08 01:32:02 +0300 |
commit | 92700d442b0897db44818bdd54735a8428b90843 (patch) | |
tree | e2f237475d05d12c2258d1d00598f172267f0dc0 | |
parent | 8781220335a1f7b8b60122df13fedba23bef9b35 (diff) | |
download | mv-92700d442b0897db44818bdd54735a8428b90843.tar.gz mv-92700d442b0897db44818bdd54735a8428b90843.tar.bz2 mv-92700d442b0897db44818bdd54735a8428b90843.tar.xz mv-92700d442b0897db44818bdd54735a8428b90843.zip |
Add support for OpenGL extension GL_GREMEDY_string_marker.
-rw-r--r-- | src/graphicsmanager.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 4817ecb03..30d50340a 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -833,7 +833,12 @@ void GraphicsManager::initOpenGLFunctions() if (!mglGetObjectLabel) assignFunction(glGetObjectLabel, "glGetObjectLabel"); } - if (supportExtension("GL_EXT_debug_marker")) + if (supportExtension("GL_GREMEDY_string_marker")) + { + logger->log1("found GL_GREMEDY_string_marker"); + assignFunction(glPushGroupMarker, "glStringMarkerGREMEDY"); + } + else if (supportExtension("GL_EXT_debug_marker")) { logger->log1("found GL_EXT_debug_marker"); assignFunction(glInsertEventMarker, "glInsertEventMarkerEXT"); |