From e77fb594c6e495fce2336be657790eb7604f2758 Mon Sep 17 00:00:00 2001
From: Tobias Frisch <tfrisch@uni-koblenz.de>
Date: Wed, 15 Sep 2021 16:20:59 +0200
Subject: [PATCH] [#96] Fixed compiler error because of naive renaming

Signed-off-by: Tobias Frisch <tfrisch@uni-koblenz.de>
---
 modules/gui/include/vkcv/gui/GUI.hpp | 4 ++--
 modules/gui/src/vkcv/gui/GUI.cpp     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/include/vkcv/gui/GUI.hpp b/modules/gui/include/vkcv/gui/GUI.hpp
index 697d3615..303fbb2c 100644
--- a/modules/gui/include/vkcv/gui/GUI.hpp
+++ b/modules/gui/include/vkcv/gui/GUI.hpp
@@ -75,9 +75,9 @@ namespace vkcv::gui {
 		 * Constructor of a new instance for ImGui management.
 		 *
 		 * @param[in,out] core Valid Core instance of the framework
-		 * @param[in,out] window Valid Window instance of the framework
+		 * @param[in,out] windowHandle Valid Window handle of the framework
 		 */
-		GUI(Core& core, WindowHandle& window);
+		GUI(Core& core, WindowHandle& windowHandle);
 		
 		GUI(const GUI& other) = delete;
 		GUI(GUI&& other) = delete;
diff --git a/modules/gui/src/vkcv/gui/GUI.cpp b/modules/gui/src/vkcv/gui/GUI.cpp
index 708a7d50..7ee33537 100644
--- a/modules/gui/src/vkcv/gui/GUI.cpp
+++ b/modules/gui/src/vkcv/gui/GUI.cpp
@@ -18,8 +18,8 @@ namespace vkcv::gui {
 		vkcv_log(LogLevel::ERROR, "ImGui has a problem with Vulkan! (%s)", vk::to_string(result).c_str());
 	}
 	
-	GUI::GUI(Core& core, WindowHandle& window) :
-	m_windowHandle(window),
+	GUI::GUI(Core& core, WindowHandle& windowHandle) :
+	m_windowHandle(windowHandle),
 	m_core(core),
 	m_context(m_core.getContext()),
 	m_gui_context(nullptr) {
-- 
GitLab