1
0
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:
Mikhail Paulyshka 2018-03-03 22:10:51 +03:00 committed by Philip Rebohle
parent 9f01ad1f7f
commit 3f8c2b0f9c

View File

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