X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fmesh.cpp;fp=source%2Fcore%2Fmesh.cpp;h=f63b32933c64245f988004df8fbca9377d62541c;hb=a5a26e4e2eb2d0b05c3531b667411be657ac74f1;hp=f8135dc8c2ce5dcb7baee86238128aa3b78c8a34;hpb=edd5491943fe7aba6e6865cf53a02da682071a55;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;