diff --git a/ash/src/vk/definitions.rs b/ash/src/vk/definitions.rs index 8ea977a51..ceea679b7 100644 --- a/ash/src/vk/definitions.rs +++ b/ash/src/vk/definitions.rs @@ -9264,12 +9264,12 @@ impl<'a> ScreenSurfaceCreateInfoQNX<'a> { self } #[inline] - pub fn context(mut self, context: &'a mut _screen_context) -> Self { + pub fn context(mut self, context: *mut _screen_context) -> Self { self.context = context; self } #[inline] - pub fn window(mut self, window: &'a mut _screen_window) -> Self { + pub fn window(mut self, window: *mut _screen_window) -> Self { self.window = window; self } @@ -56278,7 +56278,7 @@ unsafe impl<'a> TaggedStructure for ImportScreenBufferInfoQNX<'a> { unsafe impl ExtendsMemoryAllocateInfo for ImportScreenBufferInfoQNX<'_> {} impl<'a> ImportScreenBufferInfoQNX<'a> { #[inline] - pub fn buffer(mut self, buffer: &'a mut _screen_buffer) -> Self { + pub fn buffer(mut self, buffer: *mut _screen_buffer) -> Self { self.buffer = buffer; self } diff --git a/generator/src/lib.rs b/generator/src/lib.rs index ed85b3be8..55f6889f9 100644 --- a/generator/src/lib.rs +++ b/generator/src/lib.rs @@ -290,6 +290,9 @@ fn is_opaque_type(ty: &str) -> bool { | "CAMetalLayer" | "IDirectFB" | "IDirectFBSurface" + | "_screen_buffer" + | "_screen_context" + | "_screen_window" ) }