mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-25 13:31:10 +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 */
|
waitInfo.timeout = 1000000000; /* timeout in nanoseconds */
|
||||||
XrResult res = xrWaitSwapchainImage(frameBuffer->ColorSwapChain.Handle, &waitInfo);
|
XrResult res = xrWaitSwapchainImage(frameBuffer->ColorSwapChain.Handle, &waitInfo);
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (res == XR_TIMEOUT_EXPIRED) {
|
while (res != XR_SUCCESS) {
|
||||||
res = xrWaitSwapchainImage(frameBuffer->ColorSwapChain.Handle, &waitInfo);
|
res = xrWaitSwapchainImage(frameBuffer->ColorSwapChain.Handle, &waitInfo);
|
||||||
i++;
|
i++;
|
||||||
ALOGV(
|
ALOGV(
|
||||||
|
|
Loading…
Reference in a new issue