summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-08 01:32:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-08 01:32:02 +0300
commit92700d442b0897db44818bdd54735a8428b90843 (patch)
treee2f237475d05d12c2258d1d00598f172267f0dc0
parent8781220335a1f7b8b60122df13fedba23bef9b35 (diff)
downloadplus-92700d442b0897db44818bdd54735a8428b90843.tar.gz
plus-92700d442b0897db44818bdd54735a8428b90843.tar.bz2
plus-92700d442b0897db44818bdd54735a8428b90843.tar.xz
plus-92700d442b0897db44818bdd54735a8428b90843.zip
Add support for OpenGL extension GL_GREMEDY_string_marker.
-rw-r--r--src/graphicsmanager.cpp7
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");