Updates to various files, replacing delete calls with osgDelete so that

greater debugging info can be gleaned.
This commit is contained in:
Robert Osfield
2002-03-27 14:56:47 +00:00
parent 7927335edf
commit 77ae5ddcb6
9 changed files with 27 additions and 25 deletions

View File

@@ -30,7 +30,7 @@ VertexCache::VertexCache(int size)
VertexCache::~VertexCache()
{
delete[] entries;
osgDelete [] entries;
}
@@ -832,7 +832,7 @@ void NvStripifier::RemoveSmallStrips(NvStripInfoVec& allStrips, NvStripInfoVec&
}
osgDelete vcache;
delete[] bVisitedList;
osgDelete [] bVisitedList;
}
@@ -1634,7 +1634,7 @@ MyVertexVec& optimizedVerts)
}
}
delete[] indexCache;
osgDelete [] indexCache;
assert(optimizedVerts.size() == vertices.size());
}