diff --git a/src/d3d9/d3d9_on_12.cpp b/src/d3d9/d3d9_on_12.cpp index 38885894..2f9c9c44 100644 --- a/src/d3d9/d3d9_on_12.cpp +++ b/src/d3d9/d3d9_on_12.cpp @@ -30,8 +30,11 @@ namespace dxvk { return E_NOINTERFACE; } HRESULT STDMETHODCALLTYPE D3D9On12::ReturnUnderlyingResource(IDirect3DResource9* resource, UINT num_sync, UINT64* signal_values, ID3D12Fence** fences) { - Logger::err("D3D9On12::GetD3D12Device: ReturnUnderlyingResource: Stub"); - return E_NOINTERFACE; + if (num_sync) + Logger::err("D3D9On12::GetD3D12Device: ReturnUnderlyingResource: Stub"); + + m_device->Flush(); + return S_OK; } }