Require device properties 2 in instance
This commit is contained in:
parent
69ec318579
commit
c8385997cd
1 changed files with 4 additions and 1 deletions
|
@ -140,8 +140,11 @@ impl Instance {
|
|||
pub fn new(
|
||||
app_info: VkApplicationInfo<'_>,
|
||||
debug_info: VulkanDebugInfo,
|
||||
extensions: InstanceExtensions,
|
||||
mut extensions: InstanceExtensions,
|
||||
) -> Result<Arc<Instance>> {
|
||||
// required in physical device
|
||||
extensions.physical_device_properties2 = true;
|
||||
|
||||
let static_functions = StaticFunctions::load()?;
|
||||
let entry_functions = EntryFunctions::new(&static_functions);
|
||||
|
||||
|
|
Loading…
Reference in a new issue