mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-02 19:24:12 +01:00
[dxgi] implement CreateDXGIFactory2 (#120)
This commit is contained in:
parent
9f01ad1f7f
commit
3f8c2b0f9c
@ -23,6 +23,11 @@ namespace dxvk {
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
DLLEXPORT HRESULT __stdcall CreateDXGIFactory2(UINT Flags, REFIID riid, void **ppFactory) {
|
||||
dxvk::Logger::warn("CreateDXGIFactory2: Ignoring flags");
|
||||
return dxvk::createDxgiFactory(riid, ppFactory);
|
||||
}
|
||||
|
||||
DLLEXPORT HRESULT __stdcall CreateDXGIFactory1(REFIID riid, void **ppFactory) {
|
||||
return dxvk::createDxgiFactory(riid, ppFactory);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user