summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/cull_face_mode.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-02-28 12:31:54 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-02-28 17:43:40 +0100
commit076a69e6f02e73ffcf4e3a65c025077a4298a6ae (patch)
tree0a11064acec035b62a9d51f8661341719f276ef8 /src/mbgl/gl/cull_face_mode.cpp
parent864364083c204e27f3f7a42f004ab1d1c87561d4 (diff)
downloadqtlocation-mapboxgl-upstream/gfx-refactor.tar.gz
[core] move CullFaceMode to gfx namespaceupstream/gfx-refactor
Diffstat (limited to 'src/mbgl/gl/cull_face_mode.cpp')
-rw-r--r--src/mbgl/gl/cull_face_mode.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mbgl/gl/cull_face_mode.cpp b/src/mbgl/gl/cull_face_mode.cpp
deleted file mode 100644
index 53dd340204..0000000000
--- a/src/mbgl/gl/cull_face_mode.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <mbgl/gl/cull_face_mode.hpp>
-#include <mbgl/gl/defines.hpp>
-#include <mbgl/util/traits.hpp>
-
-namespace mbgl {
-namespace gl {
-
-static_assert(underlying_type(CullFaceMode::Front) == GL_FRONT, "OpenGL enum mismatch");
-static_assert(underlying_type(CullFaceMode::Back) == GL_BACK, "OpenGL enum mismatch");
-static_assert(underlying_type(CullFaceMode::FrontAndBack) == GL_FRONT_AND_BACK, "OpenGL enum mismatch");
-
-static_assert(underlying_type(CullFaceMode::Clockwise) == GL_CW, "OpenGL enum mismatch");
-static_assert(underlying_type(CullFaceMode::CounterClockwise) == GL_CCW, "OpenGL enum mismatch");
-
-} // namespace gl
-} // namespace mbgl