]> git.nega.tv - josh/narcissus/commitdiff
vulkan-sys: Fix formatting
authorJoshua Simmons <josh@nega.tv>
Sat, 4 Oct 2025 20:57:19 +0000 (22:57 +0200)
committerJoshua Simmons <josh@nega.tv>
Sat, 4 Oct 2025 21:05:05 +0000 (23:05 +0200)
external/vulkan-sys/src/functions.rs

index 131009fb381b544e2e2681cd87e00ec2e699b448..1146bb9e56b48a2946ef83e551a0d7fe9f27c9f2 100644 (file)
@@ -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,