diff --git a/source/swapchain.cpp b/source/swapchain.cpp index f9f9bce..afd6c29 100644 --- a/source/swapchain.cpp +++ b/source/swapchain.cpp @@ -135,7 +135,9 @@ mijin::Task<> Swapchain::c_present(const PresentArgs& args) mCurrentSemaphoreIdx = (mCurrentSemaphoreIdx + 1) % static_cast(mImageAvailableSemaphores.size()); // logMsg("frame: {}, semaphore: {}", mCurrentFrameIdx, mCurrentSemaphoreIdx); if (result == vk::Result::eSuccess) { - co_await c_acquireImage(); + // TODO: why doesn't this work? + // co_await c_acquireImage(); + acquireImage(); } else { recreate();