summaryrefslogtreecommitdiff
path: root/include/mbgl/gl/gl_helper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/gl/gl_helper.hpp')
-rw-r--r--include/mbgl/gl/gl_helper.hpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/mbgl/gl/gl_helper.hpp b/include/mbgl/gl/gl_helper.hpp
deleted file mode 100644
index 9d46d018c3..0000000000
--- a/include/mbgl/gl/gl_helper.hpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-namespace mbgl {
-namespace gl {
-
-template <typename T>
-class Preserve {
-public:
- Preserve() : data(T::Get()) {
- }
- ~Preserve() {
- T::Set(data);
- }
-
-private:
- const typename T::Type data;
-};
-
-} // namespace gl
-} // namespace mbgl