ASAN fixes (#1147)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
mwilsnd
2023-05-25 14:53:40 -05:00
committed by Bart Louwers
parent b823f036fe
commit 1c8304a609
5 changed files with 13 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ public:
items(std::move(other.items)) {}
public:
~VertexAttribute() = default;
virtual ~VertexAttribute() = default;
int getIndex() const { return index; }
void setIndex(int value) { index = value; }

View File

@@ -22,6 +22,9 @@ private:
: VertexAttribute(std::move(other)),
glType(other.glType) {}
public:
virtual ~VertexAttributeGL() = default;
public:
platform::GLenum getGLType() const { return glType; }
void setGLType(platform::GLenum value);