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

[dxgi] Implment IDXGIFactory7

This commit is contained in:
Philip Rebohle 2020-10-23 12:21:02 +02:00
parent a7de355646
commit 54a4e91dad
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 23 additions and 0 deletions

View File

@ -370,4 +370,20 @@ namespace dxvk {
} }
} }
HRESULT STDMETHODCALLTYPE DxgiFactory::RegisterAdaptersChangedEvent(
HANDLE hEvent,
DWORD* pdwCookie) {
Logger::err("DxgiFactory: RegisterAdaptersChangedEvent: Stub");
return E_NOTIMPL;
}
HRESULT STDMETHODCALLTYPE DxgiFactory::UnregisterAdaptersChangedEvent(
DWORD Cookie) {
Logger::err("DxgiFactory: UnregisterAdaptersChangedEvent: Stub");
return E_NOTIMPL;
}
} }

View File

@ -124,6 +124,13 @@ namespace dxvk {
void* pFeatureSupportData, void* pFeatureSupportData,
UINT FeatureSupportDataSize) final; UINT FeatureSupportDataSize) final;
HRESULT STDMETHODCALLTYPE RegisterAdaptersChangedEvent(
HANDLE hEvent,
DWORD* pdwCookie);
HRESULT STDMETHODCALLTYPE UnregisterAdaptersChangedEvent(
DWORD Cookie);
Rc<DxvkInstance> GetDXVKInstance() const { Rc<DxvkInstance> GetDXVKInstance() const {
return m_instance; return m_instance;
} }