Merge branch 'd3drm' of https://github.com/stravant/isle into d3drm

This commit is contained in:
Mark Langen 2023-11-30 21:36:57 -08:00
commit 66faae8228
2 changed files with 10 additions and 1 deletions

View File

@ -205,7 +205,13 @@ class LightImpl : public Light {
class MeshImpl : public Mesh {
public:
MeshImpl() : m_data(0) {}
~MeshImpl();
~MeshImpl()
{
if (m_data) {
delete m_data;
m_data = NULL;
}
}
virtual void* ImplementationDataPtr();

View File

@ -16,6 +16,9 @@ MeshImpl::~MeshImpl()
}
}
// OFFSET: LEGO1 0x100a3d80 TEMPLATE
// TglImpl::MeshImpl::`scalar deleting destructor'
// OFFSET: LEGO1 0x100a3ed0
void* MeshImpl::ImplementationDataPtr()
{