Use preprocessor to exclude platform specify code instead of cmake

This commit is contained in:
2025-03-31 22:17:35 +10:00
parent e76927f847
commit 6a77722ff5
18 changed files with 80 additions and 66 deletions

View File

@@ -6,6 +6,8 @@
#pragma once
#ifdef NOVA_VULKAN
#include <nova/render/render_driver.h>
#include <vulkan/vulkan.h>
@@ -51,3 +53,5 @@ namespace Nova {
static VkAllocationCallbacks* _get_allocator(VkObjectType type);
};
} // namespace Nova
#endif // NOVA_VULKAN