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 {
* @param width
* @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 {
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::Extent2D extent2D = chooseSwapExtent(context.getPhysicalDevice(), m_surface, window);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment