mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-04 16:24:29 +01:00
[d3d9] Fix losing auto depth stencil surface
This commit is contained in:
parent
8f740c53b4
commit
b8d36eeacc
@ -7565,12 +7565,12 @@ namespace dxvk {
|
||||
|
||||
|
||||
HRESULT D3D9DeviceEx::InitialReset(D3DPRESENT_PARAMETERS* pPresentationParameters, D3DDISPLAYMODEEX* pFullscreenDisplayMode) {
|
||||
ResetState(pPresentationParameters);
|
||||
|
||||
HRESULT hr = ResetSwapChain(pPresentationParameters, pFullscreenDisplayMode);
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
ResetState(pPresentationParameters);
|
||||
|
||||
Flush();
|
||||
SynchronizeCsThread(DxvkCsThread::SynchronizeAll);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user