Skip to content
Snippets Groups Projects
Commit 8f3645df authored by Sebastian Gaida's avatar Sebastian Gaida
Browse files

[#34][Fix] fix MSVC compilation

shut up msvc it was a feature not a bug....
parent 25c4b97e
No related branches found
No related tags found
1 merge request!43Resolve "Resizing-Event"
Pipeline #25354 passed
...@@ -71,7 +71,7 @@ namespace vkcv { ...@@ -71,7 +71,7 @@ namespace vkcv {
* @param width * @param width
* @param height * @param height
*/ */
vk::SwapchainKHR recreateSwapchain( const Context &context, const Window &window, int width, int height); void recreateSwapchain( const Context &context, const Window &window, int width, int height);
}; };
} }
...@@ -160,7 +160,7 @@ namespace vkcv { ...@@ -160,7 +160,7 @@ namespace vkcv {
return SwapChain(surface, swapchain, surfaceFormat, imageCount, presentMode); return SwapChain(surface, swapchain, surfaceFormat, imageCount, presentMode);
} }
vk::SwapchainKHR SwapChain::recreateSwapchain( const Context &context, const Window &window, int width, int height){ void SwapChain::recreateSwapchain( const Context &context, const Window &window, int width, int height){
vk::SwapchainKHR oldSwapchain = m_swapchain; vk::SwapchainKHR oldSwapchain = m_swapchain;
vk::Extent2D extent2D = chooseSwapExtent(context.getPhysicalDevice(), m_surface, window); vk::Extent2D extent2D = chooseSwapExtent(context.getPhysicalDevice(), m_surface, window);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment