mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-19 13:18:32 +00:00
c/render: Change some COMP_ERROR to VK_ERROR
This commit is contained in:
parent
e12598c0a3
commit
6902f6d7a3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue