Fix issue with freeing geometries

This commit is contained in:
Georg Hagen
2024-07-03 15:54:05 +02:00
parent 002206e9d6
commit 5b6fde2aaf
3 changed files with 7 additions and 0 deletions

View File

@@ -57,6 +57,7 @@ namespace OpenVulkano::Vulkan
void Close() override
{
m_geometry->renderGeo = nullptr;
m_vertexBuffer.reset();
m_indexBuffer.reset();
}