From 92700d442b0897db44818bdd54735a8428b90843 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 8 Apr 2014 01:32:02 +0300 Subject: Add support for OpenGL extension GL_GREMEDY_string_marker. --- src/graphicsmanager.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3-70-g09d2