This commit is contained in:
Matías Locatti
2023-02-18 08:32:37 -03:00
committed by GitHub
parent 89d4c84ec0
commit c357af9923

View File

@@ -165,7 +165,7 @@ void Swapchain::CreateSwapchain(const VkSurfaceCapabilitiesKHR& capabilities, bo
const auto present_modes{physical_device.GetSurfacePresentModesKHR(surface)};
const VkSurfaceFormatKHR surface_format{ChooseSwapSurfaceFormat(formats)};
present_mode = ChooseSwapPresentMode(present_modes);
present_mode = ChooseSwapPresentMode(present_modes, device.GetDriverID());
u32 requested_image_count{capabilities.minImageCount + 1};
// Ensure Tripple buffering if possible.