Remove mut

This commit is contained in:
Maik Klein 2019-03-04 10:16:08 +01:00
parent 2ecc48388d
commit 4c1c8aa648

View file

@ -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)