summaryrefslogtreecommitdiff
path: root/src/mbgl/programs/attributes.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/programs/attributes.hpp')
-rw-r--r--src/mbgl/programs/attributes.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mbgl/programs/attributes.hpp b/src/mbgl/programs/attributes.hpp
index 2ee2218fcb..803a9db503 100644
--- a/src/mbgl/programs/attributes.hpp
+++ b/src/mbgl/programs/attributes.hpp
@@ -25,7 +25,9 @@ MBGL_DEFINE_ATTRIBUTE(float, 2, shift);
template <typename T, std::size_t N>
struct data {
using Type = gfx::AttributeType<T, N>;
- static auto attributeName() { return "a_data"; }
+ static constexpr auto name() {
+ return "data";
+ }
};
// Paint attributes