From b9702a2e14adc58f8d828c867a72ddbae59cd9ae Mon Sep 17 00:00:00 2001 From: Benjamin Saunders Date: Wed, 5 Dec 2018 22:42:05 -0800 Subject: [PATCH] DeviceV1_0::destroy_event --- ash/src/device.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ash/src/device.rs b/ash/src/device.rs index 4c4330d..2162b4a 100644 --- a/ash/src/device.rs +++ b/ash/src/device.rs @@ -265,6 +265,15 @@ pub trait DeviceV1_0 { .destroy_fence(self.handle(), fence, allocation_callbacks.as_raw_ptr()); } + unsafe fn destroy_event( + &self, + event: vk::Event, + allocation_callbacks: Option<&vk::AllocationCallbacks>, + ) { + self.fp_v1_0() + .destroy_event(self.handle(), event, allocation_callbacks.as_raw_ptr()); + } + unsafe fn destroy_image( &self, image: vk::Image,