diff options
Diffstat (limited to 'src/physical_device_context.cc')
| -rw-r--r-- | src/physical_device_context.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/physical_device_context.cc b/src/physical_device_context.cc index 86bf9ab..7a57759 100644 --- a/src/physical_device_context.cc +++ b/src/physical_device_context.cc @@ -24,13 +24,13 @@ PhysicalDeviceContext::PhysicalDeviceContext( this->queue_properties = [&]() { auto count = std::uint32_t{}; - vtable.GetPhysicalDeviceQueueFamilyProperties2(physical_device, &count, + vtable.GetPhysicalDeviceQueueFamilyProperties2KHR(physical_device, &count, nullptr); auto result = std::vector<VkQueueFamilyProperties2>( count, VkQueueFamilyProperties2{ .sType = VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2}); - vtable.GetPhysicalDeviceQueueFamilyProperties2(physical_device, &count, + vtable.GetPhysicalDeviceQueueFamilyProperties2KHR(physical_device, &count, std::data(result)); return std::make_unique<std::vector<VkQueueFamilyProperties2>>( |
