diff options
Diffstat (limited to 'src/mbgl/shader/fill_vertex.hpp')
-rw-r--r-- | src/mbgl/shader/fill_vertex.hpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/mbgl/shader/fill_vertex.hpp b/src/mbgl/shader/fill_vertex.hpp deleted file mode 100644 index 1b8130382a..0000000000 --- a/src/mbgl/shader/fill_vertex.hpp +++ /dev/null @@ -1,30 +0,0 @@ -#pragma once - -#include <mbgl/gl/attribute.hpp> - -#include <array> -#include <cstdint> - -namespace mbgl { - -class FillVertex { -public: - FillVertex(int16_t x, int16_t y) - : a_pos { x, y } {} - - const int16_t a_pos[2]; -}; - -namespace gl { - -template <class Shader> -struct AttributeBindings<Shader, FillVertex> { - std::array<AttributeBinding, 1> operator()(const Shader& shader) { - return {{ - MBGL_MAKE_ATTRIBUTE_BINDING(FillVertex, shader, a_pos) - }}; - }; -}; - -} // namespace gl -} // namespace mbgl |