From 8fb45371b8a0d47a387f9e0c50e7700af14e3a7e Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Thu, 12 Mar 2026 19:13:55 +1100 Subject: Check for bad returns on vulkan calls (lol!) --- src/queue_context.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/queue_context.cc') diff --git a/src/queue_context.cc b/src/queue_context.cc index 63615f4..6367e16 100644 --- a/src/queue_context.cc +++ b/src/queue_context.cc @@ -29,8 +29,8 @@ QueueContext::QueueContext(DeviceContext& device_context, const VkQueue& queue, }; auto command_pool = VkCommandPool{}; - device_context.vtable.CreateCommandPool(device_context.device, &cpci, - nullptr, &command_pool); + THROW_NON_VKSUCCESS(device_context.vtable.CreateCommandPool( + device_context.device, &cpci, nullptr, &command_pool)); return command_pool; }(); -- cgit v1.2.3