c/render: Change some COMP_ERROR to VK_ERROR

This commit is contained in:
Jakob Bornecrantz 2020-11-10 18:43:36 +00:00
parent e12598c0a3
commit 6902f6d7a3
2 changed files with 4 additions and 4 deletions

View file

@ -241,8 +241,8 @@ begin_command_buffer(struct vk_bundle *vk, VkCommandBuffer command_buffer)
ret = vk->vkBeginCommandBuffer(command_buffer, &command_buffer_info);
if (ret != VK_SUCCESS) {
COMP_ERROR(r->c, "vkBeginCommandBuffer failed: %s",
vk_result_string(ret));
VK_ERROR(vk, "vkBeginCommandBuffer failed: %s",
vk_result_string(ret));
return ret;
}

View file

@ -44,8 +44,8 @@ create_pipeline_cache(struct vk_bundle *vk, VkPipelineCache *out_pipeline_cache)
NULL, //
&pipeline_cache); //
if (ret != VK_SUCCESS) {
COMP_ERROR(vk, "vkCreatePipelineCache failed: %s",
vk_result_string(ret));
VK_ERROR(vk, "vkCreatePipelineCache failed: %s",
vk_result_string(ret));
return ret;
}