OpenXR - Fixing FOV better

This commit is contained in:
Lubos committed 2022-09-05 18:15:31 +02:00
1 parent 5b47d22afc
commit 0e4f93d200
6 files changed
+11 -20

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ void ovrFramebuffer_Acquire(ovrFramebuffer* frameBuffer) {
XrSwapchainImageWaitInfo waitInfo;
waitInfo.type = XR_TYPE_SWAPCHAIN_IMAGE_WAIT_INFO;
waitInfo.next = NULL;
waitInfo.timeout = 1000; /* timeout in nanoseconds */
waitInfo.timeout = 1000000; /* timeout in nanoseconds */
XrResult res = xrWaitSwapchainImage(frameBuffer->ColorSwapChain.Handle, &waitInfo);
int i = 0;
while ((res != XR_SUCCESS) && (i < 10)) {