diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-08 01:21:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-08 01:21:55 +0300 |
commit | 8781220335a1f7b8b60122df13fedba23bef9b35 (patch) | |
tree | 89785ca78b67731683e76e4ad6de62078e54c74e /src/render/mgl.h | |
parent | cf24722d84c7e4fd1d32365d720c291a48b9f9c8 (diff) | |
download | manaplus-8781220335a1f7b8b60122df13fedba23bef9b35.tar.gz manaplus-8781220335a1f7b8b60122df13fedba23bef9b35.tar.bz2 manaplus-8781220335a1f7b8b60122df13fedba23bef9b35.tar.xz manaplus-8781220335a1f7b8b60122df13fedba23bef9b35.zip |
Add support for OpenGL extension GL_EXT_debug_marker.
Diffstat (limited to 'src/render/mgl.h')
-rw-r--r-- | src/render/mgl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/mgl.h b/src/render/mgl.h index 8fc98f8fe..b612c5e03 100644 --- a/src/render/mgl.h +++ b/src/render/mgl.h @@ -113,6 +113,11 @@ typedef void (APIENTRY *glLabelObject_t) (GLenum type, GLuint object, GLsizei length, const GLchar *label); typedef void (APIENTRY *glGetObjectLabel_t) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (APIENTRY *glInsertEventMarker_t) + (GLsizei length, const char *marker); +typedef void (APIENTRY *glPushGroupMarker_t) + (GLsizei length, const char *marker); +typedef void (APIENTRY *glPopGroupMarker_t) (void); // callback typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id, @@ -140,6 +145,9 @@ defNameE(glDebugMessageCallback); defNameE(glFrameTerminator); defNameE(glLabelObject); defNameE(glGetObjectLabel); +defNameE(glInsertEventMarker); +defNameE(glPushGroupMarker); +defNameE(glPopGroupMarker); #ifdef WIN32 typedef const char* (APIENTRY * wglGetExtensionsString_t) (HDC hdc); |