From da0bf8dc570f6e8421b8d80546dfce913b8251ad Mon Sep 17 00:00:00 2001 From: Quentin Ladevie Date: Sun, 14 Mar 2021 23:28:39 +0100 Subject: Make it compile on mac --- include/vk-api.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/vk-api.hpp') diff --git a/include/vk-api.hpp b/include/vk-api.hpp index 284f75c..59d09b7 100644 --- a/include/vk-api.hpp +++ b/include/vk-api.hpp @@ -2,7 +2,6 @@ #define __VK_API_HPP_ #include -#include #include #include "vk-context.hpp" @@ -101,7 +100,7 @@ class vkapi { void destroy_surface(VkSurfaceKHR surface); - Swapchain create_swapchain(VkSurfaceKHR surface, size_t min_image_count, VkImageUsageFlags usages, std::optional> old_swapchain); + Swapchain create_swapchain(VkSurfaceKHR surface, size_t min_image_count, VkImageUsageFlags usages, VkSwapchainKHR old_swapchain); void destroy_swapchain(Swapchain& swapchain); void update_descriptor_set_buffer(VkDescriptorSet set, VkDescriptorSetLayoutBinding binding, Buffer& buffer); -- cgit v1.3