Skip to content

Commit dca976e

Browse files
committed
fix clippy warnings
1 parent d7aca00 commit dca976e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wgpu-hal/src/vulkan/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ impl crate::Device for super::Device {
12541254
unsafe { self.shared.raw.destroy_image(texture.raw, None) };
12551255
}
12561256
if let Some(memory) = texture.external_memory {
1257-
self.shared.raw.free_memory(memory, None);
1257+
unsafe { self.shared.raw.free_memory(memory, None) };
12581258
}
12591259
if let Some(block) = texture.block {
12601260
self.counters.texture_memory.sub(block.size() as isize);

0 commit comments

Comments
 (0)