Fix incorrect parameter in D3D12 demos project

This commit is contained in:
baldurk
2024-11-21 14:41:45 +00:00
parent fa03d19088
commit 20d76052ee
+1 -1
View File
@@ -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();)