aboutsummaryrefslogtreecommitdiff
path: root/src/physical_device_context.cc
diff options
context:
space:
mode:
authorNicolas James <nj3ahxac@gmail.com>2026-04-07 15:44:27 +1000
committerNicolas James <nj3ahxac@gmail.com>2026-04-07 15:44:27 +1000
commitfa5ae90c34e740eaf3a4e29d5e2841240f62244d (patch)
treed3b55aa0e1885c55a076749262fe189de445bf7b /src/physical_device_context.cc
parentce26014c2e6a0200ea90eac8ec87881a0d55e727 (diff)
Fix validation warning when calling GetPhysicalDeviceQueueFamilyProperties2KHR, late destructors for DeviceContext and InstanceContext
Diffstat (limited to 'src/physical_device_context.cc')
-rw-r--r--src/physical_device_context.cc4
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>>(