X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmesh.cpp;h=f63b32933c64245f988004df8fbca9377d62541c;hb=bf6890e18cd497bc2abfdb7c4c42378059422c9e;hp=f8135dc8c2ce5dcb7baee86238128aa3b78c8a34;hpb=fcde8390ad577fe434dcd4b29e0f410d29f867c9;p=libs%2Fgl.git diff --git a/source/core/mesh.cpp b/source/core/mesh.cpp index f8135dc8..f63b3293 100644 --- a/source/core/mesh.cpp +++ b/source/core/mesh.cpp @@ -216,6 +216,7 @@ void Mesh::unload() vertices.clear(); vertices.use_buffer(0); batches.clear(); + vtx_setup.unload(); delete vbuf; delete ibuf; vbuf = 0;