summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/depth_mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/depth_mode.cpp')
-rw-r--r--src/mbgl/gl/depth_mode.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mbgl/gl/depth_mode.cpp b/src/mbgl/gl/depth_mode.cpp
deleted file mode 100644
index fdd9cf31d1..0000000000
--- a/src/mbgl/gl/depth_mode.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <mbgl/gl/depth_mode.hpp>
-#include <mbgl/gl/defines.hpp>
-#include <mbgl/util/traits.hpp>
-
-namespace mbgl {
-namespace gl {
-
-static_assert(underlying_type(DepthMode::Never) == GL_NEVER, "OpenGL enum mismatch");
-static_assert(underlying_type(DepthMode::Less) == GL_LESS, "OpenGL enum mismatch");
-static_assert(underlying_type(DepthMode::Equal) == GL_EQUAL, "OpenGL enum mismatch");
-static_assert(underlying_type(DepthMode::LessEqual) == GL_LEQUAL, "OpenGL enum mismatch");
-static_assert(underlying_type(DepthMode::Greater) == GL_GREATER, "OpenGL enum mismatch");
-static_assert(underlying_type(DepthMode::NotEqual) == GL_NOTEQUAL, "OpenGL enum mismatch");
-static_assert(underlying_type(DepthMode::GreaterEqual) == GL_GEQUAL, "OpenGL enum mismatch");
-static_assert(underlying_type(DepthMode::Always) == GL_ALWAYS, "OpenGL enum mismatch");
-
-} // namespace gl
-} // namespace mbgl