From 4982933a78229085ee7a404fded70ad0cf2abc25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 28 Feb 2019 11:23:26 +0100 Subject: [core] move DepthMode to gfx namespace --- src/mbgl/gl/depth_mode.cpp | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/mbgl/gl/depth_mode.cpp (limited to 'src/mbgl/gl/depth_mode.cpp') 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 -#include -#include - -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 -- cgit v1.2.1