1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-07 07:54:15 +01:00

[d3d10] Fix winelib build

There's no IID_PPV_ARGS on wine.
This commit is contained in:
Philip Rebohle 2019-05-15 21:42:42 +02:00
parent e0a5db44fe
commit 293551dc8d
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -147,7 +147,9 @@ extern "C" {
return D3D10InternalCreateDeviceAndSwapChain( return D3D10InternalCreateDeviceAndSwapChain(
pAdapter, DriverType, Software, Flags, pAdapter, DriverType, Software, Flags,
D3D10_FEATURE_LEVEL_10_0, SDKVersion, D3D10_FEATURE_LEVEL_10_0, SDKVersion,
nullptr, nullptr, IID_PPV_ARGS(ppDevice)); nullptr, nullptr,
__uuidof(ID3D10Device),
reinterpret_cast<void**>(ppDevice));
} }
@ -162,7 +164,9 @@ extern "C" {
return D3D10InternalCreateDeviceAndSwapChain( return D3D10InternalCreateDeviceAndSwapChain(
pAdapter, DriverType, Software, Flags, pAdapter, DriverType, Software, Flags,
HardwareLevel, SDKVersion, HardwareLevel, SDKVersion,
nullptr, nullptr, IID_PPV_ARGS(ppDevice)); nullptr, nullptr,
__uuidof(ID3D10Device1),
reinterpret_cast<void**>(ppDevice));
} }
@ -179,7 +183,8 @@ extern "C" {
pAdapter, DriverType, Software, Flags, pAdapter, DriverType, Software, Flags,
D3D10_FEATURE_LEVEL_10_0, SDKVersion, D3D10_FEATURE_LEVEL_10_0, SDKVersion,
pSwapChainDesc, ppSwapChain, pSwapChainDesc, ppSwapChain,
IID_PPV_ARGS(ppDevice)); __uuidof(ID3D10Device),
reinterpret_cast<void**>(ppDevice));
} }
@ -197,7 +202,8 @@ extern "C" {
pAdapter, DriverType, Software, Flags, pAdapter, DriverType, Software, Flags,
HardwareLevel, SDKVersion, HardwareLevel, SDKVersion,
pSwapChainDesc, ppSwapChain, pSwapChainDesc, ppSwapChain,
IID_PPV_ARGS(ppDevice)); __uuidof(ID3D10Device1),
reinterpret_cast<void**>(ppDevice));
} }