Dashboard glitches a lot less with this

This commit is contained in:
PatrickvL 2016-12-12 00:42:23 +01:00
parent 1277ef9e50
commit bad38eea58
1 changed files with 3 additions and 0 deletions

View File

@ -866,6 +866,9 @@ static DWORD WINAPI EmuCreateDeviceProxy(LPVOID)
g_dwVertexShaderUsage = D3DUSAGE_SOFTWAREPROCESSING;
}
// Dxbx addition : Prevent Direct3D from changing the FPU Control word :
g_EmuCDPD.BehaviorFlags |= D3DCREATE_FPU_PRESERVE;
// Address debug DirectX runtime warning in _DEBUG builds
// Direct3D8: (WARN) :Device that was created without D3DCREATE_MULTITHREADED is being used by a thread other than the creation thread.
#ifdef _DEBUG