From 15bb1ad7bde8e366599435ea0332b39bcfd36e0d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 31 Dec 2021 12:01:43 +0000 Subject: Remove unnecessary initialiser --- gfx/models/mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/models/mesh.cpp') diff --git a/gfx/models/mesh.cpp b/gfx/models/mesh.cpp index 28cd021..09c2872 100644 --- a/gfx/models/mesh.cpp +++ b/gfx/models/mesh.cpp @@ -7,7 +7,7 @@ #define offset_ptr(T, m) ((reinterpret_cast(1)) + offsetof(T, m) - 1) Mesh::Mesh(const std::span vertices, const std::span indices, GLenum m) : - m_vertexArrayBuffers {}, m_numIndices {static_cast(indices.size())}, mode {m} + m_numIndices {static_cast(indices.size())}, mode {m} { glBindVertexArray(m_vertexArrayObject); -- cgit v1.2.3