Update buffers copy example

This commit is contained in:
Pierre Krieger 2016-02-19 11:04:04 +01:00
parent 05d632dc14
commit b5c2d3d5f8

View File

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