Remove mut
This commit is contained in:
parent
2ecc48388d
commit
4c1c8aa648
1 changed files with 2 additions and 3 deletions
|
@ -406,11 +406,10 @@ impl ExampleBase {
|
||||||
.queue_priorities(&priorities)
|
.queue_priorities(&priorities)
|
||||||
.build()];
|
.build()];
|
||||||
|
|
||||||
let mut device_create_info = vk::DeviceCreateInfo::builder()
|
let device_create_info = vk::DeviceCreateInfo::builder()
|
||||||
.queue_create_infos(&queue_info)
|
.queue_create_infos(&queue_info)
|
||||||
.enabled_extension_names(&device_extension_names_raw)
|
.enabled_extension_names(&device_extension_names_raw)
|
||||||
.enabled_features(&features)
|
.enabled_features(&features);
|
||||||
.build();
|
|
||||||
|
|
||||||
let device: Device = instance
|
let device: Device = instance
|
||||||
.create_device(pdevice, &device_create_info, None)
|
.create_device(pdevice, &device_create_info, None)
|
||||||
|
|
Loading…
Add table
Reference in a new issue