mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-22 07:24:34 +00:00
Fixed InstanceBuilder::request_validation_layers checking for extensions
This commit is contained in:
parent
b330527d65
commit
c467c6c228
@ -480,7 +480,7 @@ InstanceBuilder& InstanceBuilder::enable_validation_layers (bool enable_validati
|
||||
InstanceBuilder& InstanceBuilder::request_validation_layers (bool enable_validation) {
|
||||
info.enable_validation_layers =
|
||||
enable_validation &&
|
||||
detail::check_extension_supported (system.available_extensions, detail::validation_layer_name);
|
||||
detail::check_layer_supported (system.available_layers, detail::validation_layer_name);
|
||||
return *this;
|
||||
}
|
||||
InstanceBuilder& InstanceBuilder::use_default_debug_messenger () {
|
||||
|
Loading…
Reference in New Issue
Block a user