summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/enum.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/enum.hpp')
-rw-r--r--src/mbgl/gl/enum.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/mbgl/gl/enum.hpp b/src/mbgl/gl/enum.hpp
new file mode 100644
index 0000000000..aaed3a962b
--- /dev/null
+++ b/src/mbgl/gl/enum.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <mbgl/platform/gl_functions.hpp>
+
+namespace mbgl {
+namespace gl {
+
+template <typename T>
+class Enum {
+public:
+ static T from(const platform::GLint);
+ static platform::GLenum to(T);
+};
+
+} // namespace gl
+} // namespace mbgl