diff options
Diffstat (limited to 'src/geometry/vertex_buffer.cpp')
-rw-r--r-- | src/geometry/vertex_buffer.cpp | 2 |
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; } |