summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/segment.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/segment.hpp')
-rw-r--r--src/mbgl/gl/segment.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/gl/segment.hpp b/src/mbgl/gl/segment.hpp
index 45c81973f2..fe0658bf8e 100644
--- a/src/mbgl/gl/segment.hpp
+++ b/src/mbgl/gl/segment.hpp
@@ -47,12 +47,12 @@ public:
} else {
// No VAO support. Force attributes to be rebound.
context.elementBuffer = indexBuffer_;
- variableBindings = {};
+ attributeBindings = {};
}
Attributes::bind(context,
attributeLocations,
- variableBindings,
+ attributeBindings,
attributeBindings_,
vertexOffset);
}
@@ -60,7 +60,7 @@ public:
private:
mutable optional<UniqueVertexArray> vao;
mutable optional<BufferID> indexBuffer;
- mutable typename Attributes::VariableBindings variableBindings;
+ mutable typename Attributes::Bindings attributeBindings;
};
template <class Attributes>