mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-22 03:51:40 +00:00
OpenXR attempt to fix flickering
This commit is contained in:
parent
0eb1d43b4a
commit
f735535dce
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ void ovrFramebuffer_Acquire(ovrFramebuffer* frameBuffer) {
|
|||
waitInfo.timeout = 1000000000; /* timeout in nanoseconds */
|
||||
XrResult res = xrWaitSwapchainImage(frameBuffer->ColorSwapChain.Handle, &waitInfo);
|
||||
int i = 0;
|
||||
while (res == XR_TIMEOUT_EXPIRED) {
|
||||
while (res != XR_SUCCESS) {
|
||||
res = xrWaitSwapchainImage(frameBuffer->ColorSwapChain.Handle, &waitInfo);
|
||||
i++;
|
||||
ALOGV(
|
||||
|
|
Loading…
Reference in a new issue