Fix the wrong type of deletion used in some internal Mesh data

This commit is contained in:
Alex Szpakowski
2021-04-04 16:02:59 -03:00
parent c991f999eb
commit 1e3e4faba7
+1 -1
View File
@@ -121,7 +121,7 @@ Mesh::~Mesh()
{
delete vertexBuffer;
delete indexBuffer;
delete vertexScratchBuffer;
delete[] vertexScratchBuffer;
for (const auto &attrib : attachedAttributes)
{