diff --git a/include/vkcv/SwapChain.hpp b/include/vkcv/SwapChain.hpp
index f0479d7e5ffde8f2a20084c625c2b87255bc8abf..1087d6364f6f811b741904d4e2b31fcfeb450901 100644
--- a/include/vkcv/SwapChain.hpp
+++ b/include/vkcv/SwapChain.hpp
@@ -12,7 +12,6 @@ namespace vkcv {
         vk::SurfaceFormatKHR m_format;
 
 		uint32_t m_ImageCount;
-		vk::Format m_ImageFormat;
 
         /**
          * Constructor of a SwapChain object
@@ -65,8 +64,6 @@ namespace vkcv {
 		 * @return number of images in swapchain
 		*/
 		uint32_t getImageCount();
-
-		vk::Format getImageFormat();
     };
 
 }
diff --git a/src/vkcv/Core.cpp b/src/vkcv/Core.cpp
index 2b4fb34852d62eb674a70efa0bfe6a3934e43be4..9cc5da7069c4452ade4fc5d0860ad1357fc91cf1 100644
--- a/src/vkcv/Core.cpp
+++ b/src/vkcv/Core.cpp
@@ -141,8 +141,8 @@ namespace vkcv
 
         for (auto qFamily : qFamilyProperties) {
             int graphicsCount = int(static_cast<uint32_t>(qFamily.queueFlags & vk::QueueFlagBits::eGraphics) != 0) * qFamily.queueCount;
-            int computeCount = int(static_cast<uint32_t>(qFamily.queueFlags & vk::QueueFlagBits::eCompute) != 0) * qFamily.queueCount;;
-            int transferCount = int(static_cast<uint32_t>(qFamily.queueFlags & vk::QueueFlagBits::eTransfer) != 0) * qFamily.queueCount;;
+            int computeCount = int(static_cast<uint32_t>(qFamily.queueFlags & vk::QueueFlagBits::eCompute) != 0) * qFamily.queueCount;
+            int transferCount = int(static_cast<uint32_t>(qFamily.queueFlags & vk::QueueFlagBits::eTransfer) != 0) * qFamily.queueCount;
             queueFamilyStatus.push_back({graphicsCount, computeCount, transferCount});
         }
 
@@ -528,6 +528,6 @@ namespace vkcv
 	}
 
 	vk::Format Core::getSwapchainImageFormat() {
-		return m_swapchain.getImageFormat();
+		return m_swapchain.getSurfaceFormat().format;
 	}
 }
diff --git a/src/vkcv/SwapChain.cpp b/src/vkcv/SwapChain.cpp
index ef182bcd180e781e1effb63b978a459bc8dff61e..3483ae37e718453a99d56d31e025433acb7f4422 100644
--- a/src/vkcv/SwapChain.cpp
+++ b/src/vkcv/SwapChain.cpp
@@ -3,7 +3,7 @@
 namespace vkcv {
 
     SwapChain::SwapChain(vk::SurfaceKHR surface, vk::SwapchainKHR swapchain, vk::SurfaceFormatKHR format, uint32_t imageCount)
-        : m_surface(surface), m_swapchain(swapchain), m_format( format), m_ImageCount(imageCount), m_ImageFormat(format.format)
+        : m_surface(surface), m_swapchain(swapchain), m_format( format), m_ImageCount(imageCount)
     {}
 
     const vk::SwapchainKHR& SwapChain::getSwapchain() const {
@@ -168,8 +168,4 @@ namespace vkcv {
 	uint32_t SwapChain::getImageCount() {
 		return m_ImageCount;
 	}
-
-	vk::Format SwapChain::getImageFormat() {
-		return m_ImageFormat;
-	}
 }