summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/raster_vertex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/raster_vertex.hpp')
-rw-r--r--src/mbgl/shader/raster_vertex.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/shader/raster_vertex.hpp b/src/mbgl/shader/raster_vertex.hpp
index 70e08c609d..889405d6cd 100644
--- a/src/mbgl/shader/raster_vertex.hpp
+++ b/src/mbgl/shader/raster_vertex.hpp
@@ -2,7 +2,7 @@
#include <mbgl/gl/attribute.hpp>
-#include <array>
+#include <vector>
#include <cstdint>
namespace mbgl {
@@ -27,7 +27,7 @@ namespace gl {
template <class Shader>
struct AttributeBindings<Shader, RasterVertex> {
- std::array<AttributeBinding, 2> operator()(const Shader& shader) {
+ std::vector<AttributeBinding> operator()(const Shader& shader) {
return {{
MBGL_MAKE_ATTRIBUTE_BINDING(RasterVertex, shader, a_pos),
MBGL_MAKE_ATTRIBUTE_BINDING(RasterVertex, shader, a_texture_pos)