We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7aca00 commit dca976eCopy full SHA for dca976e
wgpu-hal/src/vulkan/device.rs
@@ -1254,7 +1254,7 @@ impl crate::Device for super::Device {
1254
unsafe { self.shared.raw.destroy_image(texture.raw, None) };
1255
}
1256
if let Some(memory) = texture.external_memory {
1257
- self.shared.raw.free_memory(memory, None);
+ unsafe { self.shared.raw.free_memory(memory, None) };
1258
1259
if let Some(block) = texture.block {
1260
self.counters.texture_memory.sub(block.size() as isize);
0 commit comments