diff options
| author | Quentin Ladevie <ladevie.quentin@gmail.com> | 2021-03-14 23:28:39 +0100 |
|---|---|---|
| committer | Quentin Ladevie <ladevie.quentin@gmail.com> | 2021-03-14 23:28:39 +0100 |
| commit | da0bf8dc570f6e8421b8d80546dfce913b8251ad (patch) | |
| tree | 06646be201b1157923a8f08e7d7562859cb3f1a5 /include/vk-api.hpp | |
| parent | 26369a8cdf90320cdd472fdca23ee38f7ce48302 (diff) | |
Make it compile on mac
Diffstat (limited to 'include/vk-api.hpp')
| -rw-r--r-- | include/vk-api.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 <vector> -#include <optional> #include <string> #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<std::reference_wrapper<Swapchain>> 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); |
