Fixed resource reference bug

Former-commit-id: ee523acdc69ee00580644290b05e72b75ab6513d
This commit is contained in:
Lynix 2013-03-15 03:12:28 +01:00
parent 4ec2b7a120
commit d969e2ea3e
1 changed files with 0 additions and 3 deletions

View File

@ -181,9 +181,6 @@ void NzSkeletalMesh::Destroy()
{ {
if (m_impl) if (m_impl)
{ {
if (m_impl->indexBuffer)
m_impl->indexBuffer->RemoveResourceReference();
delete[] m_impl->bindPoseBuffer; delete[] m_impl->bindPoseBuffer;
delete m_impl; delete m_impl;
m_impl = nullptr; m_impl = nullptr;