summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/debugging_extension.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/debugging_extension.hpp')
-rw-r--r--src/mbgl/gl/debugging_extension.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mbgl/gl/debugging_extension.hpp b/src/mbgl/gl/debugging_extension.hpp
index 5657bbde88..0fa5a7b424 100644
--- a/src/mbgl/gl/debugging_extension.hpp
+++ b/src/mbgl/gl/debugging_extension.hpp
@@ -1,7 +1,7 @@
#pragma once
#include <mbgl/gl/extension.hpp>
-#include <mbgl/gl/gl.hpp>
+#include <mbgl/platform/gl_functions.hpp>
#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
@@ -51,6 +51,8 @@ namespace mbgl {
namespace gl {
namespace extension {
+using namespace platform;
+
class Debugging {
public:
using Callback = void (*)(GLenum source,