Skip to content

Commit 656c6fb

Browse files
committed
Fix windows build
1 parent d8d5879 commit 656c6fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wgpu-hal/src/dx12/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ impl crate::Device for super::Device {
516516
}
517517

518518
let (resource, allocation) =
519-
suballocation::DeviceAllocationContext::from(self).create_buffer(desc)?;
519+
suballocation::DeviceAllocationContext::from(self).create_buffer(&desc)?;
520520

521521
self.counters.buffers.add(1);
522522

0 commit comments

Comments
 (0)