mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-22 07:24:34 +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;
|
||||
|
Loading…
Reference in New Issue
Block a user