summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/fill_attributes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/fill_attributes.hpp')
-rw-r--r--src/mbgl/shader/fill_attributes.hpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/mbgl/shader/fill_attributes.hpp b/src/mbgl/shader/fill_attributes.hpp
deleted file mode 100644
index 83e4df3543..0000000000
--- a/src/mbgl/shader/fill_attributes.hpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#pragma once
-
-#include <mbgl/shader/attributes.hpp>
-#include <mbgl/util/geometry.hpp>
-
-namespace mbgl {
-
-struct FillAttributes : gl::Attributes<
- attributes::a_pos> {
-
- static Vertex vertex(Point<int16_t> p) {
- return Vertex {
- {
- p.x,
- p.y
- }
- };
- }
-};
-
-using FillVertex = FillAttributes::Vertex;
-static_assert(sizeof(FillVertex) == 4, "expected FillVertex size");
-
-} // namespace mbgl