mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-10 02:41:47 +00:00
Address review comments
This commit is contained in:
parent
adee12a0d9
commit
2912c74ebf
@ -610,7 +610,7 @@ detail::Result<Instance> InstanceBuilder::build() const {
|
|||||||
bool supports_properties2_ext =
|
bool supports_properties2_ext =
|
||||||
detail::check_extension_supported(system.available_extensions, VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME);
|
detail::check_extension_supported(system.available_extensions, VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME);
|
||||||
|
|
||||||
if (supports_properties2_ext && api_version == VK_API_VERSION_1_0) {
|
if (supports_properties2_ext && api_version < VKB_VK_API_VERSION_1_1) {
|
||||||
extensions.push_back(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME);
|
extensions.push_back(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user