ipc: forward result of xrWaitSwapchainImage

Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
This commit is contained in:
Christoph Haag 2023-03-10 02:52:06 +01:00 committed by Simon Zeni
parent 2f3a6e13bc
commit 2f5da783cc

View file

@ -1338,9 +1338,7 @@ ipc_handle_swapchain_wait_image(volatile struct ipc_client_state *ics, uint32_t
uint32_t sc_index = id;
struct xrt_swapchain *xsc = ics->xscs[sc_index];
xrt_swapchain_wait_image(xsc, timeout_ns, index);
return XRT_SUCCESS;
return xrt_swapchain_wait_image(xsc, timeout_ns, index);
}
xrt_result_t