mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-10 02:41:47 +00:00
SwapchainBuilder::use_default_min_image_count(): fix default parameter specified in function definition
This commit is contained in:
parent
5ac2b21dfe
commit
f528fe33d6
@ -1985,7 +1985,7 @@ SwapchainBuilder& SwapchainBuilder::set_desired_min_image_count(uint32_t min_ima
|
||||
info.add_to_min_image_count = 0; // Unnecessary, but let's do it for clarity
|
||||
return *this;
|
||||
}
|
||||
SwapchainBuilder& SwapchainBuilder::use_default_min_image_count(uint32_t add_to_min_image_count = 1) {
|
||||
SwapchainBuilder& SwapchainBuilder::use_default_min_image_count(uint32_t add_to_min_image_count) {
|
||||
info.min_image_count = 0;
|
||||
info.add_to_min_image_count = add_to_min_image_count;
|
||||
return *this;
|
||||
@ -2015,4 +2015,4 @@ void SwapchainBuilder::add_desired_present_modes(std::vector<VkPresentModeKHR>&
|
||||
modes.push_back(VK_PRESENT_MODE_MAILBOX_KHR);
|
||||
modes.push_back(VK_PRESENT_MODE_FIFO_KHR);
|
||||
}
|
||||
} // namespace vkb
|
||||
} // namespace vkb
|
||||
|
Loading…
Reference in New Issue
Block a user