The open source OpenXR runtime
0
fork

Configure Feed

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

c/util: prevent sporadic xrAcquireSwapchainImage failure under high GPU load

authored by

Andrei Aristarkhov and committed by
Jakob Bornecrantz
eace6e31 1451bd99

+1 -1
+1 -1
src/xrt/state_trackers/oxr/oxr_swapchain_vk.c
··· 37 37 * to be able to insert our transition. 38 38 */ 39 39 if (WAIT_IN_ACQUIRE) { 40 - xret = xrt_swapchain_wait_image(xsc, 0, index); 40 + xret = xrt_swapchain_wait_image(xsc, XR_INFINITE_DURATION, index); 41 41 OXR_CHECK_XRET(log, sc->sess, xret, xrt_swapchain_wait_image); 42 42 } 43 43