Commit ef36a25a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

d3dx10: Implement D3DX10GetFeatureLevel1().

parent 8a6c1d99
MODULE = d3dx10_43.dll
IMPORTLIB = d3dx10
IMPORTS = d3d10_1
IMPORTS = d3d10_1 dxguid
C_SRCS = \
d3dx10_43_main.c
......
......@@ -48,7 +48,7 @@
@ stub D3DX10CreateTextureFromResourceA(ptr long str ptr ptr ptr ptr)
@ stub D3DX10CreateTextureFromResourceW(ptr long wstr ptr ptr ptr ptr)
@ stub D3DX10FilterTexture(ptr long long)
@ stub D3DX10GetFeatureLevel1(ptr ptr)
@ stdcall D3DX10GetFeatureLevel1(ptr ptr)
@ stub D3DX10GetImageInfoFromFileA(str ptr ptr ptr)
@ stub D3DX10GetImageInfoFromFileW(wstr ptr ptr ptr)
@ stub D3DX10GetImageInfoFromMemory(ptr long ptr ptr ptr)
......
......@@ -142,3 +142,10 @@ HRESULT WINAPI D3DX10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE drive
return hr;
}
HRESULT WINAPI D3DX10GetFeatureLevel1(ID3D10Device *device, ID3D10Device1 **device1)
{
TRACE("device %p, device1 %p.\n", device, device1);
return ID3D10Device_QueryInterface(device, &IID_ID3D10Device1, (void **)device1);
}
......@@ -68,3 +68,4 @@ interface ID3DX10ThreadPump : IUnknown
cpp_quote("HRESULT WINAPI D3DX10UnsetAllDeviceObjects(ID3D10Device *device);")
cpp_quote("HRESULT WINAPI D3DX10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type,")
cpp_quote(" HMODULE swrast, unsigned int flags, ID3D10Device **device);")
cpp_quote("HRESULT WINAPI D3DX10GetFeatureLevel1(ID3D10Device *device, ID3D10Device1 **device1);")
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