fixing kvf issues

This commit is contained in:
2024-09-20 17:41:52 +02:00
parent 1e2705ef06
commit f9c05d6d7b
3 changed files with 14 additions and 10 deletions

View File

@@ -10,6 +10,7 @@
namespace mlx
{
// TODO : FIX THIS DAMN GOD CLASS !!!!!!!!!!!!!!!!
class Application
{
public:

View File

@@ -90,7 +90,6 @@ namespace mlx
LoadKVFDeviceVulkanFunctionPointers();
vkDestroySurfaceKHR(m_instance, surface, nullptr);
FatalError("caca");
}
#undef MLX_LOAD_FUNCTION
@@ -184,7 +183,7 @@ namespace mlx
MLX_LOAD_FUNCTION(vkDestroySwapchainKHR);
MLX_LOAD_FUNCTION(vkGetSwapchainImagesKHR);
MLX_LOAD_FUNCTION(vkQueuePresentKHR);
kvfPassDeviceVulkanFunctionPointers(m_device, &pfns);
kvfPassDeviceVulkanFunctionPointers(m_physical_device, m_device, &pfns);
}
#undef MLX_LOAD_FUNCTION