summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/enum.hpp
blob: aaed3a962bfe4d13271a396bd5548623d1f01e70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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