summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/context.hpp')
-rw-r--r--src/mbgl/gl/context.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp
index d95311115e..662930d5b1 100644
--- a/src/mbgl/gl/context.hpp
+++ b/src/mbgl/gl/context.hpp
@@ -36,7 +36,7 @@ class Debugging;
class ProgramBinary;
} // namespace extension
-class Context : private util::noncopyable {
+class Context {
public:
Context();
~Context();
@@ -298,6 +298,9 @@ private:
std::vector<FramebufferID> abandonedFramebuffers;
std::vector<RenderbufferID> abandonedRenderbuffers;
+ Context(const Context&) = delete;
+ Context& operator=(const Context& other) = delete;
+
public:
// For testing and Windows because Qt + ANGLE
// crashes with VAO enabled.