Commit 0e5d64cc authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

d3d11: Use proper D3D11CreateDevice argument types.

parent d548877f
......@@ -2,7 +2,7 @@
@ stub D3D11CoreCreateLayeredDevice
@ stub D3D11CoreGetLayeredDeviceSize
@ stub D3D11CoreRegisterLayers
@ stdcall D3D11CreateDevice(ptr long ptr long long long long ptr ptr ptr)
@ stdcall D3D11CreateDevice(ptr long ptr long ptr long long ptr ptr ptr)
@ stub D3D11CreateDeviceAndSwapChain
@ stub D3DKMTCloseAdapter
@ stub D3DKMTCreateAllocation
......
......@@ -46,10 +46,10 @@ static const char *debug_d3d_driver_type(D3D_DRIVER_TYPE driver_type)
}
HRESULT WINAPI D3D11CreateDevice(IDXGIAdapter *adapter, D3D_DRIVER_TYPE driver_type, HMODULE swrast, UINT flags,
const D3D_FEATURE_LEVEL feature_levels, UINT levels, UINT sdk_version,
const D3D_FEATURE_LEVEL *feature_levels, UINT levels, UINT sdk_version,
ID3D11Device **device, D3D_FEATURE_LEVEL *feature_level, ID3D11DeviceContext **context)
{
FIXME("stub: adapter %p, driver_type %s, swrast %p, flags %#x, feature_levels %d, levels %#x, sdk_version %d, "
FIXME("stub: adapter %p, driver_type %s, swrast %p, flags %#x, feature_levels %p, levels %#x, sdk_version %d, "
"device %p, feature_level %p, context %p\n", adapter, debug_d3d_driver_type(driver_type), swrast,
flags, feature_levels, levels, sdk_version, device, feature_level, context);
return E_OUTOFMEMORY;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment