diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-31 12:01:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-12-31 12:01:43 +0000 |
commit | 15bb1ad7bde8e366599435ea0332b39bcfd36e0d (patch) | |
tree | 9883430b04c8e46fd51941d210e6f5c36df7f240 /gfx/models | |
parent | Allow glRef to accept lambdas (diff) | |
download | ilt-15bb1ad7bde8e366599435ea0332b39bcfd36e0d.tar.bz2 ilt-15bb1ad7bde8e366599435ea0332b39bcfd36e0d.tar.xz ilt-15bb1ad7bde8e366599435ea0332b39bcfd36e0d.zip |
Remove unnecessary initialiser
Diffstat (limited to 'gfx/models')
-rw-r--r-- | gfx/models/mesh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<char *>(1)) + offsetof(T, m) - 1)
Mesh::Mesh(const std::span<const Vertex> vertices, const std::span<const unsigned int> indices, GLenum m) :
- m_vertexArrayBuffers {}, m_numIndices {static_cast<GLsizei>(indices.size())}, mode {m}
+ m_numIndices {static_cast<GLsizei>(indices.size())}, mode {m}
{
glBindVertexArray(m_vertexArrayObject);
|