diff --git a/src/VkBootstrap.cpp b/src/VkBootstrap.cpp index 660f5cc..e1ee6b7 100644 --- a/src/VkBootstrap.cpp +++ b/src/VkBootstrap.cpp @@ -1727,7 +1727,7 @@ detail::Result SwapchainBuilder::build() const { image_count = surface_support.capabilities.maxImageCount; } VkSurfaceFormatKHR surface_format = detail::find_surface_format( - info.physical_device, surface_support.formats, desired_formats, info.image_usage_flags); + info.physical_device, surface_support.formats, desired_formats, info.format_feature_flags); VkExtent2D extent = detail::find_extent(surface_support.capabilities, info.desired_width, info.desired_height);