mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
fixing bugs
This commit is contained in:
@@ -90,6 +90,8 @@ namespace mlx
|
||||
LoadKVFDeviceVulkanFunctionPointers();
|
||||
|
||||
vkDestroySurfaceKHR(m_instance, surface, nullptr);
|
||||
|
||||
m_allocator.Init();
|
||||
}
|
||||
|
||||
#undef MLX_LOAD_FUNCTION
|
||||
@@ -191,6 +193,7 @@ namespace mlx
|
||||
RenderCore::~RenderCore()
|
||||
{
|
||||
WaitDeviceIdle();
|
||||
m_allocator.Destroy();
|
||||
kvfDestroyDevice(m_device);
|
||||
DebugLog("Vulkan : logical device destroyed");
|
||||
kvfDestroyInstance(m_instance);
|
||||
|
||||
Reference in New Issue
Block a user