diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-07 12:01:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-07 12:15:23 +0300 |
commit | e786bcdc61657e4b2e2cae4bf6f44bb70a14587a (patch) | |
tree | 34d0e4e72d185e44ed56ab1ae81cbee29ca5e83b /src/graphicsmanager.cpp | |
parent | f73819c8e075b0925381052590a5ac9ec6ac1b68 (diff) | |
download | ManaVerse-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.cpp | 6 |
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 |