fixing camera FOV issue

This commit is contained in:
2025-05-03 00:32:58 +02:00
parent 6fd558039d
commit af6ca30d64
9 changed files with 18 additions and 11 deletions

View File

@@ -97,6 +97,7 @@ namespace Scop
{
if(m_buffer == VK_NULL_HANDLE)
return;
RenderCore::Get().WaitDeviceIdle();
RenderCore::Get().vkDestroyBuffer(RenderCore::Get().GetDevice(), m_buffer, nullptr);
RenderCore::Get().GetAllocator().Deallocate(m_memory);
m_buffer = VK_NULL_HANDLE;