diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-02 14:44:31 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-02 14:44:31 +0100 |
commit | f2654cf7d46b0e55d288cc48bdd6af872fb021f4 (patch) | |
tree | b3bc31345a2ea16fd6b76b0435247027fab48808 /gfx/models/mesh.h | |
parent | Bump to release GCC version (diff) | |
download | ilt-f2654cf7d46b0e55d288cc48bdd6af872fb021f4.tar.bz2 ilt-f2654cf7d46b0e55d288cc48bdd6af872fb021f4.tar.xz ilt-f2654cf7d46b0e55d288cc48bdd6af872fb021f4.zip |
Fix warnings produced by new clang-tidy
Diffstat (limited to 'gfx/models/mesh.h')
-rw-r--r-- | gfx/models/mesh.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gfx/models/mesh.h b/gfx/models/mesh.h index 8825aa2..c9f1204 100644 --- a/gfx/models/mesh.h +++ b/gfx/models/mesh.h @@ -3,7 +3,6 @@ #include <GL/glew.h>
#include <array>
-#include <cstddef>
#include <memory>
#include <span>
#include <special_members.hpp>
@@ -27,7 +26,7 @@ private: GLuint m_vertexArrayObject;
std::array<GLuint, NUM_BUFFERS> m_vertexArrayBuffers;
- size_t m_numIndices;
+ GLsizei m_numIndices;
GLenum mode;
};
using MeshPtr = std::shared_ptr<const Mesh>;
|