make it possible to close memmapped file before dctor

This commit is contained in:
ohyzha
2024-11-11 18:19:06 +02:00
parent b1bd78292a
commit a133641900
4 changed files with 29 additions and 2 deletions

View File

@@ -38,5 +38,7 @@ namespace OpenVulkano
[[nodiscard]] size_t Size() const { return m_size; }
[[nodiscard]] void* Data() const { return m_data; }
void Close();
};
}