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() {