checkpoint: commit current workspace state
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user