1
0
mirror of https://github.com/Yours3lf/rpi-vk-driver.git synced 2025-01-30 22:52:14 +01:00
This commit is contained in:
yours3lf 2020-06-07 17:21:25 +01:00
parent 55a9c214d7
commit 093e35a961

View File

@ -507,7 +507,7 @@ VKAPI_ATTR VkResult VKAPI_CALL RPIFUNC(vkAcquireNextImageKHR)(
break;
}
candidateIdx = (sc->backbufferIdx + 1) % sc->numImages;
candidateIdx = (candidateIdx + 1) % sc->numImages;
}
*pImageIndex = sc->backbufferIdx; //return back buffer index