diff --git a/tests/D3D12/main.cpp b/tests/D3D12/main.cpp index 27d06d31..d8ee8223 100644 --- a/tests/D3D12/main.cpp +++ b/tests/D3D12/main.cpp @@ -1120,13 +1120,13 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine staticMeshComponent.Render(commandList); // On screenshot frame, don't transition to PRESENT - keep RENDER_TARGET for screenshot - if (frameCount != 120) { + if (frameCount != 30) { EndRenderToSwapChain(commandList); } EndCommandList(); // On screenshot frame, don't Present - we'll screenshot before next frame - if (frameCount != 120) { + if (frameCount != 30) { SwapD3D12Buffers(); }