checkpoint: commit current workspace state

This commit is contained in:
2026-04-25 16:11:01 +08:00
parent 6d43fe5a7d
commit 6002d86a7e
449 changed files with 11303 additions and 100602 deletions

View File

@@ -350,7 +350,10 @@ bool D3D12WindowSwapChainPresenter::Resize(int width, int height) {
}
const auto waitBegin = std::chrono::steady_clock::now();
m_hostDevice->WaitForTrackedFrameRetirement();
if (!m_hostDevice->WaitForTrackedFrameRetirement()) {
m_lastError = m_hostDevice->GetLastError();
return false;
}
const auto waitEnd = std::chrono::steady_clock::now();
ReleaseBackBufferCommandReferences();
ReleaseBackBufferViews();