Added TriangleIterator::Unmap()

Former-commit-id: 8ef858c5374c6701c087d0f4b1644bb6704e1131
This commit is contained in:
Lynix
2013-01-04 16:32:14 +01:00
parent be7afed144
commit 5eac4de406
3 changed files with 15 additions and 5 deletions

View File

@@ -326,6 +326,9 @@ void NzVertexMapper::SetTexCoords(unsigned int i, const NzVector2f& texCoords)
void NzVertexMapper::Unmap()
{
delete m_impl;
m_impl = nullptr;
if (m_impl)
{
delete m_impl;
m_impl = nullptr;
}
}