From 79a2dbfd3430600e29c9e776791f2ba4b3be71ba Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Fri, 29 Mar 2024 11:07:04 +0100 Subject: [PATCH] vk/Pipelines: Unpack pipeline result. The Vulkan C++ API apparently changed. --- libraries/vk/src/vk/Pipelines.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/vk/src/vk/Pipelines.h b/libraries/vk/src/vk/Pipelines.h index 9334a84f1e..f07541bb54 100644 --- a/libraries/vk/src/vk/Pipelines.h +++ b/libraries/vk/src/vk/Pipelines.h @@ -154,7 +154,8 @@ namespace vks { vk::Pipeline create(const vk::PipelineCache& cache) { update(); - return device.createGraphicsPipeline(cache, pipelineCreateInfo); + vk::ResultValue res = device.createGraphicsPipeline(cache, pipelineCreateInfo); + return res.value; } vk::Pipeline create() {