mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-14 22:29:15 +01:00
[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() {
|
void D3D11ImmediateContext::SynchronizeCsThread() {
|
||||||
|
D3D10DeviceLock lock = LockContext();
|
||||||
|
|
||||||
// Dispatch current chunk so that all commands
|
// Dispatch current chunk so that all commands
|
||||||
// recorded prior to this function will be run
|
// recorded prior to this function will be run
|
||||||
FlushCsChunk();
|
FlushCsChunk();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user