summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/attribute.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/attribute.hpp')
-rw-r--r--src/mbgl/gl/attribute.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/gl/attribute.hpp b/src/mbgl/gl/attribute.hpp
index c4fe8b993f..32493d207a 100644
--- a/src/mbgl/gl/attribute.hpp
+++ b/src/mbgl/gl/attribute.hpp
@@ -50,13 +50,13 @@ public:
}
};
- return Locations{ maybeBindLocation(As::name())... };
+ return Locations{ maybeBindLocation(As::attributeName())... };
}()) {
}
template <class BinaryProgram>
AttributeLocations(const BinaryProgram& program)
- : locations{ program.attributeLocation(As::name())... } {
+ : locations{ program.attributeLocation(As::attributeName())... } {
}
NamedAttributeLocations getNamedLocations() const {
@@ -68,7 +68,7 @@ public:
}
};
- util::ignore({ (maybeAddLocation(As::name(), locations.template get<As>()), 0)... });
+ util::ignore({ (maybeAddLocation(As::attributeName(), locations.template get<As>()), 0)... });
return result;
}