[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
1 changed files with 5 additions and 2 deletions

View File

@ -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;
}
}