Use *Alloc() functions in example

This commit is contained in:
Patrick O'Connell
2024-06-29 17:13:06 -07:00
parent 7a6986faba
commit 4707aca68d
3 changed files with 11 additions and 30 deletions

View File

@@ -197,6 +197,10 @@ const enumerate_functions = std.StaticStringMap(void).initComptime(.{
.{"vkEnumerateInstanceExtensionProperties"},
.{"vkEnumeratePhysicalDevices"},
.{"vkGetPhysicalDeviceQueueFamilyProperties"},
.{"vkGetPhysicalDeviceSurfaceFormatsKHR"},
.{"vkGetPhysicalDeviceSurfacePresentModesKHR"},
.{"vkEnumerateDeviceExtensionProperties"},
.{"vkGetSwapchainImagesKHR"},
});
// Given one of the above commands, returns the type of the array elements