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/render/mgl.h | |
parent | f73819c8e075b0925381052590a5ac9ec6ac1b68 (diff) | |
download | manaplus-e786bcdc61657e4b2e2cae4bf6f44bb70a14587a.tar.gz manaplus-e786bcdc61657e4b2e2cae4bf6f44bb70a14587a.tar.bz2 manaplus-e786bcdc61657e4b2e2cae4bf6f44bb70a14587a.tar.xz manaplus-e786bcdc61657e4b2e2cae4bf6f44bb70a14587a.zip |
Add support for OpenGL extension GL_GREMEDY_frame_terminator.
It allow show to debugger where is frame termination.
Diffstat (limited to 'src/render/mgl.h')
-rw-r--r-- | src/render/mgl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/mgl.h b/src/render/mgl.h index a47a70218..e2e710029 100644 --- a/src/render/mgl.h +++ b/src/render/mgl.h @@ -99,6 +99,7 @@ typedef void (APIENTRY *glSamplerParameteri_t) (GLuint sampler, GLenum pname, GLint param); typedef void (APIENTRY *glDebugMessageControl_t) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled); +typedef void (APIENTRY *glFrameTerminator_t) (void); // callback typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id, @@ -123,6 +124,7 @@ defNameE(glBindSampler); defNameE(glSamplerParameteri); defNameE(glDebugMessageControl); defNameE(glDebugMessageCallback); +defNameE(glFrameTerminator); #ifdef WIN32 typedef const char* (APIENTRY * wglGetExtensionsString_t) (HDC hdc); |