From c7ab753d86ff1117138cf09bc816ae11f3307fd1 Mon Sep 17 00:00:00 2001
From: Tobias Frisch <tfrisch@uni-koblenz.de>
Date: Sat, 17 Sep 2022 22:42:39 +0200
Subject: [PATCH] Fix parameter type completed in Pass.hpp

Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de>
---
 include/vkcv/Pass.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vkcv/Pass.hpp b/include/vkcv/Pass.hpp
index 0bbb8194..c5299d39 100644
--- a/include/vkcv/Pass.hpp
+++ b/include/vkcv/Pass.hpp
@@ -18,7 +18,7 @@ namespace vkcv {
 						  Multisampling multisampling = Multisampling::None);
 
 	PassHandle passSwapchain(Core &core, const SwapchainHandle &swapchain,
-							 const std::vector<vk::Format> formats, bool clear = true,
+							 const std::vector<vk::Format> &formats, bool clear = true,
 							 Multisampling multisampling = Multisampling::None);
 
 } // namespace vkcv
-- 
GitLab