Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/doitsujin/dxvk.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/d3d9/d3d9_device.cpp')
-rw-r--r--src/d3d9/d3d9_device.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp
index a2f6e9c3..30a4a5b2 100644
--- a/src/d3d9/d3d9_device.cpp
+++ b/src/d3d9/d3d9_device.cpp
@@ -482,6 +482,9 @@ namespace dxvk {
Flush();
SynchronizeCsThread(DxvkCsThread::SynchronizeAll);
+ if (m_d3d9Options.deferSurfaceCreation)
+ m_deviceHasBeenReset = true;
+
return D3D_OK;
}