From 3cf26d262b845ab4a51e2b87f9cd18d7493c0bdb Mon Sep 17 00:00:00 2001
From: Sebastian Gaida <gaida@ca-digit.com>
Date: Fri, 14 May 2021 12:33:24 +0200
Subject: [PATCH] [#16][Fix] removed context out of swapchain constructor

---
 include/vkcv/SwapChain.hpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/vkcv/SwapChain.hpp b/include/vkcv/SwapChain.hpp
index e56866ff..15633bad 100644
--- a/include/vkcv/SwapChain.hpp
+++ b/include/vkcv/SwapChain.hpp
@@ -17,11 +17,10 @@ namespace vkcv {
          * glfw is not initialized in this class because ist must be sure that there exists a context first
          * glfw is already initialized by the window class
          * @param surface used by the swapchain
-         * @param context of the application
          * @param swapchain to show images in the window
          * @param format
          */
-        SwapChain(vk::SurfaceKHR surface, const vkcv::Context &context, vk::SwapchainKHR swapchain, vk::SurfaceFormatKHR format);
+        SwapChain(vk::SurfaceKHR surface, vk::SwapchainKHR swapchain, vk::SurfaceFormatKHR format);
 
     public:
         SwapChain(const SwapChain &other) = default;
-- 
GitLab