aboutsummaryrefslogtreecommitdiffstats
path: root/include/vk-api.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/vk-api.hpp')
-rw-r--r--include/vk-api.hpp3
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);