summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-07 12:01:47 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-07 12:15:23 +0300
commite786bcdc61657e4b2e2cae4bf6f44bb70a14587a (patch)
tree34d0e4e72d185e44ed56ab1ae81cbee29ca5e83b /src/graphicsmanager.cpp
parentf73819c8e075b0925381052590a5ac9ec6ac1b68 (diff)
downloadmanaverse-e786bcdc61657e4b2e2cae4bf6f44bb70a14587a.tar.gz
manaverse-e786bcdc61657e4b2e2cae4bf6f44bb70a14587a.tar.bz2
manaverse-e786bcdc61657e4b2e2cae4bf6f44bb70a14587a.tar.xz
manaverse-e786bcdc61657e4b2e2cae4bf6f44bb70a14587a.zip
Add support for OpenGL extension GL_GREMEDY_frame_terminator.
It allow show to debugger where is frame termination.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index b40f8df57..d158527e1 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -816,6 +816,12 @@ void GraphicsManager::initOpenGLFunctions()
mSupportDebug = 0;
}
+ if (supportExtension("GL_GREMEDY_frame_terminator"))
+ {
+ logger->log1("found GL_GREMEDY_frame_terminator");
+ assignFunction(glFrameTerminator, "glFrameTerminatorGREMEDY");
+ }
+
#ifdef WIN32
assignFunction(wglGetExtensionsString, "wglGetExtensionsStringARB");
#endif