diff --git a/src/extensions/win32_surface.rs b/src/extensions/win32_surface.rs index cd58bd9..386b454 100644 --- a/src/extensions/win32_surface.rs +++ b/src/extensions/win32_surface.rs @@ -15,7 +15,6 @@ pub struct Win32Surface { win32_surface_fn: vk::Win32SurfaceFn, } - impl Win32Surface { pub fn new(entry: &Entry, instance: &Instance) -> Result> { let surface_fn = vk::Win32SurfaceFn::load(|name| { diff --git a/src/vk.rs b/src/vk.rs index de7a75f..d85db6b 100644 --- a/src/vk.rs +++ b/src/vk.rs @@ -3638,6 +3638,7 @@ pub mod types { // FIX: Need better error handling for extensions macro_rules! vk_functions { ($struct_name: ident, $($raw_name: expr, $name: ident ($($param_name: ident: $param: ty),*,) -> $ret: ty;)+) => { + #[allow(non_camel_case_types)] pub struct $struct_name{ $( $name: extern "system" fn ($($param_name: $param),*) -> $ret,