mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-26 16:54:35 +00:00
Compare against feature flags
This commit is contained in:
parent
617123254a
commit
903fdfe87b
@ -1727,7 +1727,7 @@ detail::Result<Swapchain> SwapchainBuilder::build() const {
|
|||||||
image_count = surface_support.capabilities.maxImageCount;
|
image_count = surface_support.capabilities.maxImageCount;
|
||||||
}
|
}
|
||||||
VkSurfaceFormatKHR surface_format = detail::find_surface_format(
|
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 =
|
VkExtent2D extent =
|
||||||
detail::find_extent(surface_support.capabilities, info.desired_width, info.desired_height);
|
detail::find_extent(surface_support.capabilities, info.desired_width, info.desired_height);
|
||||||
|
Loading…
Reference in New Issue
Block a user