From 20d76052eea12e36a26197566c01ea043357a030 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 21 Nov 2024 14:41:45 +0000 Subject: [PATCH] Fix incorrect parameter in D3D12 demos project --- util/test/demos/d3d12/d3d12_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/test/demos/d3d12/d3d12_test.cpp b/util/test/demos/d3d12/d3d12_test.cpp index 55b1e8baf..e46957fed 100644 --- a/util/test/demos/d3d12/d3d12_test.cpp +++ b/util/test/demos/d3d12/d3d12_test.cpp @@ -814,7 +814,7 @@ void D3D12GraphicsTest::Present() m_GPUSyncCounter++; queue->Signal(m_GPUSyncFence, m_GPUSyncCounter); - pendingCommandBuffers.push_back(std::make_pair(cmd, m_GPUSyncFence)); + pendingCommandBuffers.push_back(std::make_pair(cmd, m_GPUSyncCounter)); } for(auto it = pendingCommandBuffers.begin(); it != pendingCommandBuffers.end();)