From e54d33684422457bd5512d413a92c14f4ea56f30 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 17 May 2022 13:17:25 -0500 Subject: [PATCH] c/util: Clarify that wait_image timeout is nanoseconds --- src/xrt/compositor/util/comp_swapchain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/compositor/util/comp_swapchain.c b/src/xrt/compositor/util/comp_swapchain.c index 8ffca332d..8a570d033 100644 --- a/src/xrt/compositor/util/comp_swapchain.c +++ b/src/xrt/compositor/util/comp_swapchain.c @@ -51,7 +51,7 @@ swapchain_acquire_image(struct xrt_swapchain *xsc, uint32_t *out_index) } static xrt_result_t -swapchain_wait_image(struct xrt_swapchain *xsc, uint64_t timeout, uint32_t index) +swapchain_wait_image(struct xrt_swapchain *xsc, uint64_t timeout_ns, uint32_t index) { struct comp_swapchain *sc = comp_swapchain(xsc);