From 0ce6e31a0d73e3a3366c7453cbb30da24340dbea Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Wed, 29 May 2024 18:03:47 +0200 Subject: [PATCH] Fix iOS build issue --- openVulkanoCpp/Vulkan/Resources/ResourceManager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openVulkanoCpp/Vulkan/Resources/ResourceManager.hpp b/openVulkanoCpp/Vulkan/Resources/ResourceManager.hpp index 9fb0a9d..35d1c4e 100644 --- a/openVulkanoCpp/Vulkan/Resources/ResourceManager.hpp +++ b/openVulkanoCpp/Vulkan/Resources/ResourceManager.hpp @@ -117,7 +117,7 @@ namespace OpenVulkano MemoryAllocation* CreateMemoryAllocation(size_t size, uint32_t type, bool addToCache = true); - MemoryAllocation* GetFreeMemoryAllocation(size_t size, size_t alignment, uint32_t type, bool createIfAllFull = true); + MemoryAllocation* GetFreeMemoryAllocation(size_t size, vk::DeviceSize alignment, uint32_t type, bool createIfAllFull = true); vk::DescriptorSetLayout* GetDescriptorLayoutSet(const DescriptorSetLayoutBinding& descriptorSetLayoutBinding);