summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/depth_mode.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/depth_mode.hpp')
-rw-r--r--src/mbgl/gl/depth_mode.hpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/mbgl/gl/depth_mode.hpp b/src/mbgl/gl/depth_mode.hpp
deleted file mode 100644
index 37617e3c34..0000000000
--- a/src/mbgl/gl/depth_mode.hpp
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#include <mbgl/util/range.hpp>
-
-namespace mbgl {
-namespace gl {
-
-class DepthMode {
-public:
- enum Function {
- Never = 0x0200,
- Less = 0x0201,
- Equal = 0x0202,
- LessEqual = 0x0203,
- Greater = 0x0204,
- NotEqual = 0x0205,
- GreaterEqual = 0x0206,
- Always = 0x0207
- };
-
- enum Mask : bool {
- ReadOnly = false,
- ReadWrite = true
- };
-
- Function func;
- Mask mask;
- Range<float> range;
-
- static DepthMode disabled() {
- return DepthMode { Always, ReadOnly, { 0.0, 1.0 } };
- }
-};
-
-} // namespace gl
-} // namespace mbgl