summaryrefslogtreecommitdiff
path: root/src/geometry/vertex_buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry/vertex_buffer.cpp')
-rw-r--r--src/geometry/vertex_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry/vertex_buffer.cpp b/src/geometry/vertex_buffer.cpp
index 47fe73a2aa..0ce21fd51c 100644
--- a/src/geometry/vertex_buffer.cpp
+++ b/src/geometry/vertex_buffer.cpp
@@ -12,7 +12,7 @@ VertexBuffer::~VertexBuffer() {
}
}
-uint32_t VertexBuffer::index() const {
+size_t VertexBuffer::index() const {
// We store 2 coordinates per vertex + 1 linesofar + 1 extrude coord pair == 4 (== 8 bytes)
return array.size() / 2;
}