diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-12 19:13:55 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-12 19:13:55 +1100 |
| commit | 8fb45371b8a0d47a387f9e0c50e7700af14e3a7e (patch) | |
| tree | db18874ca2547777783bc1acf20bcb08f22ed7b1 /src/queue_context.cc | |
| parent | 44d88e25df14b7e191a15bfbe002a875d7c67056 (diff) | |
Check for bad returns on vulkan calls (lol!)
Diffstat (limited to 'src/queue_context.cc')
| -rw-r--r-- | src/queue_context.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; }(); |
