From: Joshua Simmons Date: Sat, 4 Oct 2025 20:57:19 +0000 (+0200) Subject: vulkan-sys: Fix formatting X-Git-Url: https://git.nega.tv//gitweb.cgi?a=commitdiff_plain;h=cd94d0ac6857bcf15413fded2fa060741e193cd3;p=josh%2Fnarcissus vulkan-sys: Fix formatting --- diff --git a/external/vulkan-sys/src/functions.rs b/external/vulkan-sys/src/functions.rs index 131009f..1146bb9 100644 --- a/external/vulkan-sys/src/functions.rs +++ b/external/vulkan-sys/src/functions.rs @@ -8,7 +8,7 @@ pub type FnAllocationFunction = extern "system" fn( user_data: *mut c_void, size: usize, alignment: usize, - allocationScope: SystemAllocationScope, + allocation_scope: SystemAllocationScope, ) -> *mut c_void; pub type FnReallocationFunction = extern "system" fn( @@ -78,13 +78,13 @@ pub type FnGetPhysicalDeviceFeatures2 = extern "system" fn(physical_device: PhysicalDevice, features: *mut PhysicalDeviceFeatures2); pub type FnGetPhysicalDeviceFormatProperties = extern "system" fn( - physicalDevice: PhysicalDevice, + physical_device: PhysicalDevice, format: Format, format_properties: &mut FormatProperties, ); pub type FnGetPhysicalDeviceImageFormatProperties = extern "system" fn( - physicalDevice: PhysicalDevice, + physical_device: PhysicalDevice, format: Format, r#type: ImageType, tiling: ImageTiling, @@ -94,10 +94,10 @@ pub type FnGetPhysicalDeviceImageFormatProperties = extern "system" fn( ) -> Result; pub type FnGetPhysicalDeviceProperties = - extern "system" fn(physicalDevice: PhysicalDevice, properties: *mut PhysicalDeviceProperties); + extern "system" fn(physical_device: PhysicalDevice, properties: *mut PhysicalDeviceProperties); pub type FnGetPhysicalDeviceProperties2 = - extern "system" fn(physicalDevice: PhysicalDevice, properties: *mut PhysicalDeviceProperties2); + extern "system" fn(physical_device: PhysicalDevice, properties: *mut PhysicalDeviceProperties2); pub type FnGetPhysicalDeviceQueueFamilyProperties = extern "system" fn( physical_device: PhysicalDevice,