mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-25 16:25:31 +00:00
Update buffers copy example
This commit is contained in:
parent
05d632dc14
commit
b5c2d3d5f8
@ -16,7 +16,7 @@ fn main() {
|
||||
|
||||
|
||||
let (device, queues) = vulkano::device::Device::new(&physical, physical.supported_features(),
|
||||
[(queue, 0.5)].iter().cloned())
|
||||
[(queue, 0.5)].iter().cloned(), &[])
|
||||
.expect("failed to create device");
|
||||
let queue = queues.into_iter().next().unwrap();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user