mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 23:05:43 +00:00
Fix vkDestroyDescriptorSetLayout being used instead of vkDestroyPipelineLayout
This commit is contained in:
parent
45dd6d8156
commit
9eee5ae621
@ -414,7 +414,7 @@ impl<P> Drop for PipelineLayout<P> {
|
||||
fn drop(&mut self) {
|
||||
unsafe {
|
||||
let vk = self.device.pointers();
|
||||
vk.DestroyDescriptorSetLayout(self.device.internal_object(), self.layout, ptr::null());
|
||||
vk.DestroyPipelineLayout(self.device.internal_object(), self.layout, ptr::null());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user