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, 0 insertions, 6 deletions
diff --git a/src/mbgl/gl/attribute.hpp b/src/mbgl/gl/attribute.hpp
index c2e362da63..d578bdb361 100644
--- a/src/mbgl/gl/attribute.hpp
+++ b/src/mbgl/gl/attribute.hpp
@@ -31,12 +31,6 @@ private:
public:
AttributeLocations() = default;
- template <class BinaryProgram>
- AttributeLocations(const BinaryProgram& program)
- : locations{ program.attributeLocation(
- concat_literals<&string_literal<'a', '_'>::value, &As::name>::value())... } {
- }
-
void queryLocations(const ProgramID& id) {
locations = Locations{
queryLocation(id, concat_literals<&string_literal<'a', '_'>::value, &As::name>::value())... };