From 0e5d64cc44ed0442aa119794a7a764c850ce1cfd Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 11 Sep 2013 12:09:04 +0200 Subject: [PATCH] d3d11: Use proper D3D11CreateDevice argument types. --- dlls/d3d11/d3d11.spec | 2 +- dlls/d3d11/d3d11_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/d3d11/d3d11.spec b/dlls/d3d11/d3d11.spec index ffe07125c36..52d7bcbafaa 100644 --- a/dlls/d3d11/d3d11.spec +++ b/dlls/d3d11/d3d11.spec @@ -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 diff --git a/dlls/d3d11/d3d11_main.c b/dlls/d3d11/d3d11_main.c index b5bf8cdcdef..87bdf4ef1eb 100644 --- a/dlls/d3d11/d3d11_main.c +++ b/dlls/d3d11/d3d11_main.c @@ -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;