summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/debugging.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/debugging.hpp')
-rw-r--r--src/mbgl/gl/debugging.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mbgl/gl/debugging.hpp b/src/mbgl/gl/debugging.hpp
index d24b727295..d85eb631be 100644
--- a/src/mbgl/gl/debugging.hpp
+++ b/src/mbgl/gl/debugging.hpp
@@ -5,19 +5,22 @@
#include <string>
namespace mbgl {
-namespace gl {
+namespace gfx {
class Context;
+} // namespace gfx
+
+namespace gl {
#ifndef NDEBUG
class DebugGroup : private util::noncopyable {
public:
- DebugGroup(const Context&, const std::string&);
+ DebugGroup(const gfx::Context&, const std::string&);
~DebugGroup();
private:
- const Context& context;
+ const gfx::Context& context;
};
#define __MBGL_DEBUG_GROUP_NAME2(counter) __MBGL_DEBUG_GROUP_##counter