Fixed resource reference bug
Former-commit-id: ee523acdc69ee00580644290b05e72b75ab6513d
This commit is contained in:
parent
4ec2b7a120
commit
d969e2ea3e
|
|
@ -181,9 +181,6 @@ void NzSkeletalMesh::Destroy()
|
|||
{
|
||||
if (m_impl)
|
||||
{
|
||||
if (m_impl->indexBuffer)
|
||||
m_impl->indexBuffer->RemoveResourceReference();
|
||||
|
||||
delete[] m_impl->bindPoseBuffer;
|
||||
delete m_impl;
|
||||
m_impl = nullptr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue