d3d11: Use proper D3D11CreateDevice argument types.

This commit is contained in:
Jacek Caban 2013-09-11 12:09:04 +02:00 committed by Alexandre Julliard
parent d548877f6e
commit 0e5d64cc44
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

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