1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-01 08:52:11 +01:00

[d3d9] Use new fence wait function in WaitStagingBuffer

This commit is contained in:
Philip Rebohle 2024-10-30 23:37:29 +01:00
parent 85684109b3
commit 84ce80f931

View File

@ -4534,7 +4534,7 @@ namespace dxvk {
// Wait for staging memory to get recycled.
if (stagingBufferAllocated > MaxStagingMemoryInFlight)
m_stagingBufferFence->wait(stagingBufferAllocated - MaxStagingMemoryInFlight);
m_dxvkDevice->waitForFence(*m_stagingBufferFence, stagingBufferAllocated - MaxStagingMemoryInFlight);
}