summaryrefslogtreecommitdiff
path: root/src/platform/gl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/gl.cpp')
-rw-r--r--src/platform/gl.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/platform/gl.cpp b/src/platform/gl.cpp
index a1bf0ffc6c..3133f128b9 100644
--- a/src/platform/gl.cpp
+++ b/src/platform/gl.cpp
@@ -2,9 +2,17 @@
#include <iostream>
-#ifdef NVIDIA
-PFNGLDISCARDFRAMEBUFFEREXTPROC glDiscardFramebufferEXT;
-#endif
+
+namespace mbgl {
+namespace gl {
+
+PFNGLBINDVERTEXARRAYPROC BindVertexArray = nullptr;
+PFNGLDELETEVERTEXARRAYSPROC DeleteVertexArrays = nullptr;
+PFNGLGENVERTEXARRAYSPROC GenVertexArrays = nullptr;
+PFNGLISVERTEXARRAYPROC IsVertexArray = nullptr;
+
+}
+}
void _CHECK_GL_ERROR(const char *cmd, const char *file, int line) {
std::cout << cmd << ";" << std::endl;