mirror of https://github.com/doitsujin/dxvk
[d3d11] Lock in SynchronizeCsThread
This prevents fixes threading issues with D3D10 games when Present() gets called. Fixes #567.
This commit is contained in:
parent
4c9af44356
commit
1750b14c2a
|
@ -547,6 +547,8 @@ namespace dxvk {
|
|||
|
||||
|
||||
void D3D11ImmediateContext::SynchronizeCsThread() {
|
||||
D3D10DeviceLock lock = LockContext();
|
||||
|
||||
// Dispatch current chunk so that all commands
|
||||
// recorded prior to this function will be run
|
||||
FlushCsChunk();
|
||||
|
|
Loading…
Reference in New Issue