Skip to content

Commit

Permalink
ok figured it out
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinzii committed Aug 23, 2023
1 parent dafb493 commit 6defbe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/include/gen/graphics/swapchain.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace gen
GEN_NODISCARD vk::SwapchainKHR const & getSwapChain() const { return m_swapChain.get(); }
GEN_NODISCARD vk::Extent2D const & getExtent() const { return m_swapChainInfo.imageExtent; }
GEN_NODISCARD vk::Format const & getFormat() const { return m_swapChainInfo.imageFormat; }
GEN_NODISCARD std::span<vk::Image const> const & getImages() const { return m_swapChainImages; }
GEN_NODISCARD std::vector<vk::Image> const & getImages() const { return m_swapChainImages; }
GEN_NODISCARD std::vector<vk::UniqueImageView> const & getImageViews() const { return m_swapChainImageViews; }

private:
Expand All @@ -55,7 +55,7 @@ namespace gen
SwapChainSupportDetails m_swapChainSupport{};
vk::SwapchainCreateInfoKHR m_swapChainInfo{};
vk::UniqueSwapchainKHR m_swapChain{};
std::span<vk::Image const> m_swapChainImages{};
std::vector<vk::Image> m_swapChainImages{};
std::vector<vk::UniqueImageView> m_swapChainImageViews{};

Logger m_logger{"graphics"};
Expand Down

0 comments on commit 6defbe7

Please sign in to comment.