1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-03 13:24:20 +01:00

[d3d9] Improve ReturnUnderlyingResource stub for 9on12

This commit is contained in:
Joshua Ashton 2024-03-16 18:59:03 +00:00
parent 1085ba713e
commit ef4428ab8c

View File

@ -30,8 +30,11 @@ namespace dxvk {
return E_NOINTERFACE; return E_NOINTERFACE;
} }
HRESULT STDMETHODCALLTYPE D3D9On12::ReturnUnderlyingResource(IDirect3DResource9* resource, UINT num_sync, UINT64* signal_values, ID3D12Fence** fences) { HRESULT STDMETHODCALLTYPE D3D9On12::ReturnUnderlyingResource(IDirect3DResource9* resource, UINT num_sync, UINT64* signal_values, ID3D12Fence** fences) {
Logger::err("D3D9On12::GetD3D12Device: ReturnUnderlyingResource: Stub"); if (num_sync)
return E_NOINTERFACE; Logger::err("D3D9On12::GetD3D12Device: ReturnUnderlyingResource: Stub");
m_device->Flush();
return S_OK;
} }
} }