summaryrefslogtreecommitdiff
path: root/src/mbgl/gfx/vertex_vector.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gfx/vertex_vector.hpp')
-rw-r--r--src/mbgl/gfx/vertex_vector.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/gfx/vertex_vector.hpp b/src/mbgl/gfx/vertex_vector.hpp
index 5d892e9136..f41f842294 100644
--- a/src/mbgl/gfx/vertex_vector.hpp
+++ b/src/mbgl/gfx/vertex_vector.hpp
@@ -18,11 +18,11 @@ public:
util::ignore({ (v.emplace_back(std::forward<Args>(args)), 0)... });
}
- std::size_t vertexSize() const {
+ std::size_t elements() const {
return v.size();
}
- std::size_t byteSize() const {
+ std::size_t bytes() const {
return v.size() * sizeof(Vertex);
}