The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

c/util: Fix warning

authored by

Jakob Bornecrantz and committed by
Jakob Bornecrantz
19302a5d 086a702b

+6 -1
+6 -1
src/xrt/compositor/util/comp_swapchain.c
··· 115 115 { 116 116 uint32_t image_count = sc->vkic.image_count; 117 117 VkCommandBuffer cmd_buffer; 118 + VkResult ret; 118 119 119 120 VkComponentMapping components = { 120 121 .r = VK_COMPONENT_SWIZZLE_R, ··· 203 204 subresource_range); // 204 205 } 205 206 206 - vk_submit_cmd_buffer(vk, cmd_buffer); 207 + ret = vk_submit_cmd_buffer(vk, cmd_buffer); 208 + if (ret != VK_SUCCESS) { 209 + //! @todo Propegate error 210 + VK_ERROR(vk, "Failed to barrier images"); 211 + } 207 212 } 208 213 209 214 static void