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:
parent
85684109b3
commit
84ce80f931
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user