Skip to content

Commit e729d51

Browse files
Fix wrong error message when graphics pipeline creation fails
1 parent 9d1cbab commit e729d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/vulkan/rendering_device_driver_vulkan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2920,7 +2920,7 @@ RDD::PipelineID RenderingDeviceDriverVulkan::render_pipeline_create(
29202920

29212921
VkPipeline vk_pipeline = VK_NULL_HANDLE;
29222922
VkResult err = vkCreateGraphicsPipelines(vk_device, pipelines_cache.vk_cache, 1, &pipeline_create_info, nullptr, &vk_pipeline);
2923-
ERR_FAIL_COND_V_MSG(err, PipelineID(), "vkCreateComputePipelines failed with error " + itos(err) + ".");
2923+
ERR_FAIL_COND_V_MSG(err, PipelineID(), "vkCreateGraphicsPipelines failed with error " + itos(err) + ".");
29242924

29252925
return PipelineID(vk_pipeline);
29262926
}

0 commit comments

Comments
 (0)