diff options
author | Leith Bade <leith@mapbox.com> | 2014-12-02 00:35:30 +1100 |
---|---|---|
committer | Leith Bade <leith@mapbox.com> | 2014-12-02 00:35:30 +1100 |
commit | 759e806516ab0a0140a42dbdd6bacb54c30d9dcb (patch) | |
tree | 65db0f9f142a067ba38b4c20a8f0b5c72cb842f1 /src | |
parent | c8552e1b28cf93f0e2729680c945b2389f81226e (diff) | |
download | qtlocation-mapboxgl-759e806516ab0a0140a42dbdd6bacb54c30d9dcb.tar.gz |
Add KHR_debug definitions
Diffstat (limited to 'src')
-rw-r--r-- | src/platform/gl.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/platform/gl.cpp b/src/platform/gl.cpp index 3133f128b9..c9f76bf1d6 100644 --- a/src/platform/gl.cpp +++ b/src/platform/gl.cpp @@ -6,6 +6,18 @@ namespace mbgl { namespace gl { +PFNGLDEBUGMESSAGECONTROLPROC DebugMessageControl; +PFNGLDEBUGMESSAGEINSERTPROC DebugMessageInsert; +PFNGLDEBUGMESSAGECALLBACKPROC DebugMessageCallback; +PFNGLGETDEBUGMESSAGELOGPROC GetDebugMessageLog; +PFNGLGETPOINTERVPROC GetPointerv; +PFNGLPUSHDEBUGGROUPPROC PushDebugGroup; +PFNGLPOPDEBUGGROUPPROC PopDebugGroup; +PFNGLOBJECTLABELPROC ObjectLabel; +PFNGLGETOBJECTLABELPROC GetObjectLabel; +PFNGLOBJECTPTRLABELPROC ObjectPtrLabel; +PFNGLGETOBJECTPTRLABELPROC GetObjectPtrLabel; + PFNGLBINDVERTEXARRAYPROC BindVertexArray = nullptr; PFNGLDELETEVERTEXARRAYSPROC DeleteVertexArrays = nullptr; PFNGLGENVERTEXARRAYSPROC GenVertexArrays = nullptr; @@ -32,4 +44,4 @@ void _CHECK_GL_ERROR(const char *cmd, const char *file, int line) { std::cerr << "GL_" << error.c_str() << " - " << file << ":" << line << std::endl; exit(1); } -}
\ No newline at end of file +} |