perf(new_editor): decouple frame slots from swapchain buffers

This commit is contained in:
2026-04-21 01:03:00 +08:00
parent 9b7b369007
commit 7f1089fb0a
4 changed files with 17 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ void D3D12WindowSwapChainPresenter::ConfigureFrameLatency() {
return;
}
nativeSwapChain->SetMaximumFrameLatency(1u);
nativeSwapChain->SetMaximumFrameLatency(kSwapChainBufferCount);
}
void D3D12WindowSwapChainPresenter::DestroySwapChain() {